deepstate icon indicating copy to clipboard operation
deepstate copied to clipboard

Sort test cases by file name and line number before running them natively

Open pgoodman opened this issue 7 years ago • 0 comments

It's helpful to run the test cases in a "logical" order. The order in which they are registered with DeepState is technically undefined, though one can expect it to be in reverse order of the appearance of the tests in the file, with the ordering across files as unspecified.

The Python symbolic executors sort tests before running them, which means that if only one process worker (the default) is used to run the test suite then that process then the ordering will look sane.

pgoodman avatar Nov 03 '17 17:11 pgoodman