Releases: inmanta/pytest-inmanta
Releases · inmanta/pytest-inmanta
Version 2.0.0
New Features
- Added support for testing v2 modules.
- Extended to be compatible with inmanta-core>=6
- Added support for custom inmanta_reset_state method to clean up stateful modules between compiles
- Ensure that projects are compiled using a separate venv.
- Fixed typing issue for filter_args in different method of the Project class.
Breaking changes
- pytest-inmanta now keeps inmanta_plugins submodules alive across compiles. As a result, stateful modules must implement custom state cleanup logic as described in the README.
Version 1.6.0
New Features
- Export mypy types
- Added the ability to assert the expected 'change' of a deploy
- Compiled models are logged (debug level), with line numbers (#199)
Version 1.5.2
v1.5.2 Release: 1.5.2
Version 1.4.0
V 1.4.0 (20-10-12)
New Features
- Added meaningful error message when --venv points to a non-existing directory (#62)
- Added
inmanta_plugins
fixture to make abstraction of required module reloading when the compiler project is reset (related to #49) - Added deprecation warning for
project_no_plugins
fixture in favor ofINMANTA_TEST_NO_LOAD_PLUGINS
environment variable (#66) - Added resource unittest::IgnoreResource.
- Improve documentation of options (#67)
Bug fixes
Version 1.3.0
Changes in this release:
Added
- INMANTA_TEST_NO_LOAD_PLUGINS environment variable as workaround for #49
Version 1.2.0
Version 1.1.0
Version 1.0.0
Version 0.9.0
Changes in this release
Added
- Added support to retrieve scopes in project fixture.
- Test the serialization/deserialization of resources.
Fixed
- Ensure that the project fixture doesn't leak any data across test cases.
Version 0.8.0
Changes in this release
- Add support for skip and fail through data global