Details
-
Type: New Feature
-
Status: Won't Do
-
Priority: Major
-
Resolution: Won't Do
-
Affects Version/s: Unscheduled
-
Fix Version/s: Unscheduled
-
Component/s: Test suite
-
Labels:None
-
Versioning Impact:Patch (backwards-compatible bug fixes)
Description
Peter Haight from Giant Rabbit has written a test script which allows web and functional tests to be run with much lower overhead, making direct accesses to forms rather than doing web client/server request. A test database is created as necessary, and protected by a transaction which is rolled back for every test.
His notes on further development of this feature:
> I want to get all the unit tests working with it using the transaction stuff so that those go really fast. Then I think it would be wise to move tests that don't actually need the browser to the functional stuff so that they are easier to run and run faster, but that could be done on a case by case thing as people are fixing bugs that hit a particular test.
>
> Some more standard way to do fixtures would be nice, but I'm not really sure what's the best way to do that.