Re: Unittests and serial workflows

2015-10-30 Thread Laura Creighton
In a message of Sat, 31 Oct 2015 12:46:53 +1100, Chris Angelico writes: >If the order of test execution affects the overall pass/fail of the >test set, then yes, that's a problem. But if, as in the OP's example, >some tests assume the correct operation of features tested >individually elsewhere, it

Re: Unittests and serial workflows

2015-10-30 Thread Chris Angelico
On Sat, Oct 31, 2015 at 12:28 PM, Steven D'Aprano wrote: >> And so forth. The order in which unittest is running the test is not the >> one given by the code (it seems to be alphabetical?) so that I am not >> guaranteed that my functions are tested in the right order (my real >> tasks of course ar

Re: Unittests and serial workflows

2015-10-30 Thread Steven D'Aprano
On Tue, 27 Oct 2015 03:10 pm, Fabien wrote: > Hi all, > > I am not trained as a software developer and have only superficial > knowledge about the theories and good practices of software testing. > > Say I have several tasks (functions) A(), B(), C(), etc., each of them > depending on the previo