Page 1 of 1

019 - Create a unit test plan for the Frontpage Manager.

Posted: Tue Dec 04, 2007 5:20 pm
by el primato
Hello,

my problem is: 2 days ago I claimed a task (#19) but nobody answers or closes the task. Is that normal?
http://code.google.com/p/google-highly- ... %20Summary

I don't know if I've made a mistake... I've never done something like that!

Claimed: Dec 4 Due: 18 (corrected by Amy)
Google Task

[me=AmyStephen]Changed subject slightly for sorting all threads to match against Google resource  :)[/me]

Re: I claimed a task but nobody answers...

Posted: Tue Dec 04, 2007 5:24 pm
by infograf768
Welcome.  :)

I am sure this will be taken care of soon.

Re: I claimed a task but nobody answers...

Posted: Tue Dec 04, 2007 5:38 pm
by jlleblanc
Welcome to the contest! Sorry for the wait, your task is now marked as claimed. Let us know if you need any direction or have any questions.

Re: #19 - Create a unit test plan for the Frontpage Manager.

Posted: Tue Dec 04, 2007 8:12 pm
by el primato
Thanks :)

I 've changed the topic name - so, my name is eike and I'm from germany ;)

Could you help me a bit, please? I have never done work like that before, but I hope I 'll do fine. I know PHP and I 've used joomla before. That's not the problem. I've already got some ideas, but I don't know exactly what you 're looking for. Can you give me an example?

Re: 19 - Create a unit test plan for the Frontpage Manager.

Posted: Tue Dec 04, 2007 9:34 pm
by jlleblanc
Hello Eike,

What we're looking for is a document that describes 25 different things someone could enter through the Frontpage Manager and what the expected frontend output would be. For instance, if I go to the Front Page Manager and click "Publish" on one of the items, I would expect it to appear on the front page of the website.

This task doesn't necessarily involve writing PHP code. The document is just a description of what things a programmer would need to simulate in an automated unit test.

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Thu Dec 06, 2007 5:44 pm
by AmyStephen

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sat Dec 08, 2007 5:16 am
by AmyStephen
eike -

How are you doing? Is there something we can do to assist? We would appreciate an update every few days, if possible.

Thanks!
Amy :)

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sat Dec 08, 2007 11:58 am
by el primato
Ok,

I don't know how many details I should describe, so:
Mark an (published) article and click on the „Unpublish“-button
->Expected result: In the „Published“-field in the article-list appears an „Unpublished“-icon and on the frontpage the unpublished article disappears.

Mark an (unpublished) article and click on the „Publish“-button
->Expected result: In the „Published“-field in the article-list appears an „Published“-icon and on the frontpage the published article appears.
or
Change the Access Level of an article from Public to Registered
->Expected Result: On the frontpage the article will only appear for registered people.

Change the Access Level of an article to Special
->Expected Result: On the frontpage the article will only appear for people who are at least front-end author's.
so far

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sun Dec 09, 2007 6:05 am
by AmyStephen
That is good - simple actions and expected results.

As a reminder, your task is due December 16.

Keep up the good work!
Amy :)

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Mon Dec 10, 2007 3:56 pm
by el primato
AmyStephen wrote: That is good - simple actions and expected results.

As a reminder, your task is due December 16.

Keep up the good work!
Amy :)
Oh, I thought it's december 18. However, I guess I'll get it....

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Mon Dec 10, 2007 4:00 pm
by AmyStephen
el primato wrote:
AmyStephen wrote: That is good - simple actions and expected results.

As a reminder, your task is due December 16.

Keep up the good work!
Amy :)
Oh, I thought it's december 18. However, I guess I'll get it....
I completely agree with you! We failed to recognize you claimed the task for a couple of days. I will change your claim date to Dec 04 and Due Date to Dec 18 as it should be. Thanks for letting me know but also for your willingness to adjust, knowing I was wrong. That creates some good karma, dude!

Thanks!
Amy :)
Comment 9 by eikelangbehn, Dec 02, 2007

how long takes it normaly?

Delete comment
Comment 10 by jlleblanc, Dec 04 (5 days ago)

(No comment was entered for this change.)

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Tue Dec 11, 2007 5:28 pm
by el primato
I think I've done half of the work:
Mark an article and click on the „Unpublish“-button
->Expected result: On the frontpage the marked article disappears.

Mark some articles and click on the „Unpublish“-button
->Expected result: On the frontpage the marked articles disappear.

Mark an article and click on the „Publish“-button
->Expected result: On the frontpage the marked article appears.

Mark some articles and click on the „Publish“-button
->Expected result: On the frontpage the marked articles appear.

Click on the small Up-Arrow in the „Order“-field
->Epected result: On the frontpage the article will appear one article higher than before.

Click on the small Down-Arrow in the „Order“-field
->Epected result: On the frontpage the article will appear one article lower than before.

Change the Access Level of an article to Public by clicking on the entry in the „Access Level“-field
->Expected Result: On the frontpage the article will appear for all people.

Change the Access Level of an article to Registered by clicking on the entry in the „Access Level“-field
->Expected Result: On the frontpage the article will only appear for registered people.

Change the Access Level of an article to Special by clicking on the entry in the „Access Level“-field
->Expected Result: On the frontpage the article will only appear for people who are at least front-end author's.

Mark an article and click on the „Remove“-button
->Expected result: On the frontpage the marked article disappears.

Mark some articles and click on the „Remove“-button
->Expected result: On the frontpage the marked articles disappear.

Mark an article and click on the „Archive“-button
->Expected result: On the frontpage the article disappears.

Mark some articles and click on the „Archive“-button
->Expected result: On the frontpage the marked articles disappear.
Can you give me some feedback?
And I like to know if I should describe also the "edit content" or "edit author" screen (they are connected to the frontpage) or the possibilities to search or structure the articles in the frontpage manager backend ...? Because I didn't know what else I can do with the frontpage manager.

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sun Dec 16, 2007 6:08 pm
by el primato
Sorry, but nobody gives me an answer and I've got only two days to finish the task. If there's no answer to my questions I'll do it how I think it's right.

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sun Dec 16, 2007 6:39 pm
by AmyStephen
I sincerely apologize for this delay.  :-[ We have had over 100 students participate in this contest and the contest comes at a very difficult time - we are nearing the release of RC4 for Joomla! v 1.5 and have just finished a very successful international bug smashing weekend. Plus, everything else that normally goes on in a HUGE open source project.

We will work with you on the deadlines, of course!

I think your list is perfect. I would NOT do the article edits and author edits. Those are certainly connected, but separate and distinct processes.

Consider the Frontpage menu item options, as well, for Frontpage, to ensure that the blog layout and scrolling all work, as planned. Consider Publish dates, as well.

Regarding Access level - there is an Article parameter that allows "Register on Read more" that will show the introductory text, but prompt those not logged on to register, first. See GHOP Entry document for more.

Hopefully, those ideas are helpful. Thank you for your patience. I'll try to watch closely for your response,
Amy :)

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Thu Dec 20, 2007 1:18 pm
by el primato
I've done the task. I know I'm two days too late, I'm very sorry. And I wrote 50
specific tests.
The result is in the task comments http://code.google.com/p/google-highly- ... %20Summary

And thanks to amy for the help!

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Tue Dec 25, 2007 2:57 pm
by AmyStephen
Thank you very much for your important contributions to Joomla!. I apologize for this sitting for five days. We are obviously struggling.

Testing is such an important part of producing a stable application. Unit test plans, such as yours, will be useful to begin building automated scripts that can regularly be used to ensure Joomla!'s correctness with future development.

Your work is accepted, as complete, and much appreciated.
Amy :)

Re: 019 - Create a unit test plan for the Frontpage Manager.

Posted: Sun Jan 06, 2008 5:15 am
by mcsmom
Tasks for doing this test are now available at google, issues 159 and 160.