Lemoncheesecake

Latest version: v1.15.0

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

Scan your dependencies

Page 15 of 23

0.14.0

- **API**: add `lcc.conditional` decorator for tests/suites to allow a test/suite to be included in the test tree
depending on a condition callback result
- **API**: add `lcc.inject_fixture` function that provides fixture injection into a test suite
- **API**: add `lcc.get_fixture` function that allow the retrieval of an executed, session_prerun-scoped, fixture
- **API**: in project class, add a get_report_info, that allow the project to set custom information in the report
- Make version of lemoncheesecake available through API, CLI and generated reports
- lcc stats: indicate disabled tests

0.13.0

- **under the hood**: rework reporting using an events sub-system
- **API**: add support for title in report
- **API**: test and suite names can now be set through an optional `name` argument in `test` and `suite` decorators
- **lcc report**: display full test path

0.12.0

- Rewrite the HTML report using React
- Fix regression introduced in 3e4d341 / 0.11.0: lcc run was crashing while running a suite setup
- **under the hood**: introduce two new functions `find_test` and `find_suite` to find a given test / suite from
its complete path in the test tree
- **under the hood**: rework filter_suites function by generating new suite instances instead of altering existing onces

0.11.1

- **API**: make `load_report` return a `BoundReport` (a subclass of Report that provides a `save` method among others)
instead of `report`, `backend` pair
- **API**: improve `load_report_from_file` exception message when report file can not be read (impacts `lcc report`)
- **HTML report**: avoid UI shaking on mouse over

0.11.0

- **CLI**: a new `lcc report` command has been added to display generated reports on the console
- **under the hood**: the filtering feature now works with report's suite instances (see `lemoncheesecake.filter`)
- **under the hood**: simplify exception handling in `lemoncheesecake.cli.command*`

0.10.3

- **HTML report**: fix test suites rendering when metadata are available

Page 15 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.