Schemathesis

Latest version: v3.38.9

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

Scan your dependencies

Page 4 of 51

3.36.0

:rocket: Added

- Reimplementation of test case deduplication in CLI. It effectively un-deprecates the `--contrib-unique-data` CLI option.
- Extend `ignored_auth` to check for incorrect auth.
- More `properties` combinations for the coverage phase.
- Use the `default` field as a source of valid inputs during the coverage phase.

:wrench: Changed

- Add `ctx` as the first argument for all checks.
This is a step towards checks that cover multiple responses at once.
- Validate custom check function signatures.

:wastebasket: Deprecated

- Custom checks that do not accept `ctx` as the first argument.

:bug: Fixed

- Avoid running checks twice in new-style stateful tests.
- Missing `timeout` in certain situations when loading the schema from the network.
- Ignoring `with_security_parameters` in runner in some cases.

3.35.5

:wrench: Changed

- Extend explicit examples discovery mechanism by checking response examples.
- Saving the generated data into a cassette when `--dry-run` is provided. 1423
- Saving timeout requests into a cassette.

:bug: Fixed

- Support non-Starlette ASGI apps in more places.

3.35.4

:bug: Fixed

- The `example` field was missed in the coverage phase.

3.35.3

:wrench: Changed

- Use more explicit examples in the coverage phase.
- Make CLI options help more readable.

:bug: Fixed

- Ignored `generation_config` in explicit example tests when it is explicitly passed to the test runner.
- Incomplete header values in some serialization cases.

3.35.2

:wrench: Changed

- Restructure the `st run --help` output.
- Use explicit examples in the coverage phase.

:bug: Fixed

- Ensure that the `-D` CLI option is respected in the coverage phase.
- Prevent stateful tests failing with `Unsatisfiable` if it they previously had successfully generated test cases.

3.35.1

:rocket: Added

- New `phase` field to VCR cassettes to indicate the testing phase of each recorded test case.

:bug: Fixed

- Internal errors in the experimental "coverage" phase.
- Missing `Case.data_generation_method` in test cases generated during the coverage phase.
- Incorrect header values generated during the coverage phase.

Page 4 of 51

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.