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

Google's Highly Open Participation Program tries to get young students into Open Source and Joomla! specifically. Everyone is welcome, there are not limits. You can be a coder, documenter, tester, translator to help out. Jump in and start helping!
Locked
el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Tue Dec 04, 2007 5:20 pm

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]
Last edited by AmyStephen on Sat Dec 29, 2007 5:55 pm, edited 1 time in total.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 19133
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

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

Post by infograf768 » Tue Dec 04, 2007 5:24 pm

Welcome.  :)

I am sure this will be taken care of soon.
Jean-Marie Simonet / infograf
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

User avatar
jlleblanc
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Fri Aug 19, 2005 12:37 am
Location: Washington, DC / NoVA
Contact:

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

Post by jlleblanc » Tue Dec 04, 2007 5:38 pm

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.
Joseph L. LeBlanc: http://www.jlleblanc.com
Frontend components start here: /components/com_[name]/[name].php
Backend components start here: /administrator/components/com_[name]/admin.[name].php

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Tue Dec 04, 2007 8:12 pm

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?

User avatar
jlleblanc
Joomla! Guru
Joomla! Guru
Posts: 963
Joined: Fri Aug 19, 2005 12:37 am
Location: Washington, DC / NoVA
Contact:

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

Post by jlleblanc » Tue Dec 04, 2007 9:34 pm

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.
Joseph L. LeBlanc: http://www.jlleblanc.com
Frontend components start here: /components/com_[name]/[name].php
Backend components start here: /administrator/components/com_[name]/admin.[name].php

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Thu Dec 06, 2007 5:44 pm


AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Sat Dec 08, 2007 5:16 am

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 :)

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Sat Dec 08, 2007 11:58 am

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

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Sun Dec 09, 2007 6:05 am

That is good - simple actions and expected results.

As a reminder, your task is due December 16.

Keep up the good work!
Amy :)

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Mon Dec 10, 2007 3:56 pm

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....

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Mon Dec 10, 2007 4:00 pm

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.)

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Tue Dec 11, 2007 5:28 pm

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.

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Sun Dec 16, 2007 6:08 pm

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.

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Sun Dec 16, 2007 6:39 pm

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 :)

el primato
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Sun Dec 02, 2007 1:48 pm

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

Post by el primato » Thu Dec 20, 2007 1:18 pm

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!

AmyStephen
Joomla! Champion
Joomla! Champion
Posts: 7018
Joined: Wed Nov 22, 2006 3:35 pm
Location: Nebraska
Contact:

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

Post by AmyStephen » Tue Dec 25, 2007 2:57 pm

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 :)

User avatar
mcsmom
Joomla! Exemplar
Joomla! Exemplar
Posts: 7897
Joined: Thu Aug 18, 2005 8:43 pm
Location: New York
Contact:

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

Post by mcsmom » Sun Jan 06, 2008 5:15 am

Tasks for doing this test are now available at google, issues 159 and 160.
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Locked

Return to “Google's Highly Open Participation Contest”