blissoda.demo.testing#
This module provides pytest-like features for integration tests while preserving the capability to run the tests manualy from the Bliss shell.
The difference with pytest:
Fixture functions cannot have the same name, even when defined in a different module.
Fixtures always have the ‘function’ scope.
Tests are not auto-discovered but need the
@integration_fixturedecorator to ensure the fixture arguments get evaluated.
A minimal example:
The fixtures are private to hide them from the Bliss shell.