[TIP] alphabetical order in testing

Felix Schwarz felix.schwarz at agile42.com
Thu Feb 25 04:21:07 PST 2010


Am 20.01.2010 15:52, schrieb C. Titus Brown:
> Olemis, et al. -- independence of test order is generally considered a
> requirement for unit tests, but not for other tests (functional, UI, etc.)
> where it simply wouldn't make sense.

 From my experience also for functional tests it's nice to have them as 
isolated *as possible*.

In functional testing of web applications we had good experience using 
PageObjects to encapsulate common functionality so that it's easy to get 
to the required state.

Another thing that could help here is nested contexts with nested setups 
like jsspec does it...

fs



More information about the testing-in-python mailing list