Random tests within a unittest.TestCase class, But exclude testcase startswith test_a or test_z Install: pip install nosedisorder Usage: nosetests --with-disorder [--seed xxx]