Unishark

Latest version: v0.3.2

Safety actively analyzes 619647 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.3.2

------------------

- added multiprocessing suites (which can bypass CPython's GIL and utilize multi-cores).
- modified result, runner and reporter classes to be picklable for multiprocessing.
- supported running with Jython.

0.3.1

------------------

- fixed the issue of still running test methods even when setUpClass/setUpModule raises exception in concurrency mode.
- fixed error descriptions of class or module level fixtures when they raise exceptions.

0.3.0

------------------

- rewrote concurrent execution model. Now test fixtures setUpModule/tearDownModule setUpClass/tearDownClass will be executed once and only once no matter what concurrency level(module/class/method) of a suite is. Fixed the problem that module fixtures were executed multiple times when concurrency level was 'class' or 'method', and class fixtures were executed multiple times when concurrency level was 'method'.
- changed the format of the concurrency-related settings in the dict config. Now 'max_workers' and 'level' are keys in the 'concurrency' sub-dict.
- moved BufferedTestResult class from the runner module to the new result module which makes more sense.

0.2.3

------------------

- enabled 'module' and 'method' level concurrent execution in a suite.

0.2.2

------------------

- support loading tests from a package with pattern matching, and excluding modules/classes/methods from the loaded tests.
- add load_tests_from_package and load_tests_from_modules api.
- rename load_test_from_dict to load_tests_from_dict.
- fix that verbose stdout mode does not print test method doc string.
- fix that tests loaded with method granularity are not filtered by method name pattern.
- less strict dependency versions.

0.2.1

------------------

- support data-driven with multi-threads.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.