Batspp

Latest version: v2.2.0

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

Scan your dependencies

Page 2 of 2

2.1.2

Fix
* fixed module imports 12

2.1.1

Fix
- Solved not founded modules during installation.
- Solved path error when sourcing Bash scripts with embedded tests.
- Solved conflicts when importing modules.

2.1.0

New features
* Implemented command-line option --hexdump_debug.
* Implemented command-line option --debug argument to set custom debug pipelines.
* Implemented global teardown.
* Added documentation for command-line arguments and writing teardowns.

Changed
* Setups functions now are parsing as functions.
* Test default setups now are inside of the setup functions (reduced duplicated code between tests).

2.0.1

Fix
- Compatibility with Python version >=3.8

2.0.0

New features
- implemented Test, Setup and Continuation directives.
- implemented global Setup directives.
- implemented multiple assertions blocks.
- implemented exception when invalid patterns tokens are founded.
- implemented exception when a directive if referenced before assignment.
- implemented tests constants.
- implemented new command-line and environment variable arguments: SAVE, TEMP_DIR, COPY_DIR, VISIBLE_PATHS, RUN_OPTS.
- implemented new command-line and environment variable options: OUTPUT, VERBOSE_DEBUG, SKIP_RUN, OMIT_TRACE, DISABLE_ALIASES, VERSION.
- Upgraded docs.

Changed
- added file header comment on generated tests file.
- replaced default random number titles by title with test line.
- renamed --output <PATH> argument to --save <PATH>.
- debug commands on generated tests moved to a Bash function.
- refactor assertion commands on generated tests.

1.1.0

Added
* simple output assertions.
* assert true functions.
* assert false functions.
* --output arg for bats-core generated tests.
* --source arg to source files.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.