Moodle Official Test

Moodle Official Test

โดย Christian Lebe -
Number of replies: 8
Hiya Moodlers,

Martin and Shane from Moodle HQ have decided to develop an official test plan that can be use each time a new Moodle version is released. I have started bit by bit and put it on Moodle docs .

So basically this is what's happening:
1. We have some scenarios/cases in Moodle Docs
2. I modified the Moodle Demo Features course and this can be used to go through the test plan. The course file can be downloaded here.
3. Moodle Community could contribute taking part of the test and report any bug (we are still thinking what's the best way to report a bug).

At the moment, the Test plan is far away from perfect. I would like to ask some feedback so that we can make it happen. Please feel free to modify the documentation page as well (add more questions or modify or anything).
I will also continue putting more pages there.

Allright. That's all from me, thanks for participating big grin

Chris

(Edited by Martin Dougiamas - Thursday, 16 March 2006, 04:46 PM)

การประเมินโดยเฉลี่ย: -
In reply to Christian Lebe

Re: Moodle Official Test

โดย Ludo (Marc Alier) -
Hi Christian,
do this testing involves wiki? The new wiki performs a migration of old wiki's and dfwikis when is installed. Could you include this process into the testing ?
Thank you.
Marc
ps. the new wiki is in cvs contrib/dfwiki/mod/wiki but you can find a bundle called "wiki crash version" here http://appserv.lsi.upc.es/palangana/moodle/course/view.php?id=15




การประเมินโดยเฉลี่ย: -
In reply to Christian Lebe

Re: Moodle Official Test

โดย Gustav W Delius -
Christian,

that test suite is a wonderful initiative, many thanks to Moodle HQ for this.

The correct link to the pages on MoodleDocs is http://docs.moodle.org/en/Tests
(that your link http://docs.moodle.org/Tests does not work is presumably a bug in the wiki?)
การประเมินโดยเฉลี่ย: -
In reply to Christian Lebe

Re: Moodle Official Test

โดย David Scotson -

Hi, I'd seen these test scripts added to the wiki and been intrigued. I think having community created test scripts is a great idea, but one that could be taken further with automated testing tools.

The tool I have most interest in is Watir. I'm so excited about the possibilities of this tool that after months of waiting for the promised cross-platform, cross-browser version 2.0, I've finally caved and overcame my revulsion to install and use Windows XP on my main work machine to explore its potential.

I've not yet had the chance to dig into it fully but believe that the tool is simple enough for ordinary Moodle users to contribute and run automated test scripts, while allowing more advanced users and developers to do very interesting things.

In fact I was often reminded of Moodle when reading the testimonials of testing professionals who use this tool. It seems to open up this world to a whole new audience by massively lowering the technical expertise required and working in a way that fits their existing mental models.

If anyone else has been looking into this or other similar/complimentary tools (e.g. Selenium) I'd love to hear about it.

การประเมินโดยเฉลี่ย:Useful (1)
In reply to David Scotson

Re: Moodle Official Test

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
This system looks very cool at a first glance ... it seems likely that the work Christian's already done could be easily converted to use a framework like this.

I can probably imagine some scenarios where simple text matching would not be able to pick up a GUI bug (eg missing one quote in a link) but perhaps these would not actually be a problem with some careful thinking.
การประเมินโดยเฉลี่ย: -
In reply to Martin Dougiamas

Re: Moodle Official Test

โดย Tim Hunt -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของParticularly helpful Moodlers รูปภาพของPeer reviewers รูปภาพของPlugin developers
Who cares if an antomatic test script does not catch 100% or errors. If all it costs setting a script running then going for a cup of coffee, and if catches some classes of errors, then it is almost certainly a win.

And it frees up human testers to do more intellegent testing.
การประเมินโดยเฉลี่ย: -
In reply to Tim Hunt

Re: Moodle Official Test

โดย Martin Dougiamas -
รูปภาพของCore developers รูปภาพของDocumentation writers รูปภาพของMoodle HQ รูปภาพของParticularly helpful Moodlers รูปภาพของPlugin developers รูปภาพของTesters
Sure, I agree!   It's always good to be aware of limitations, though, particularly when we might have a choice of tools.

Christian will be looking into this next week unless anyone comes up with a better tool.
การประเมินโดยเฉลี่ย: -