Releases: getslash/slash
Releases · getslash/slash
1.9.0
- Added a plugin which provides links to test logs which have been archived by a CI system
- Added support for tagging test parameterization values
- #598: Drop support for python version < 3.6
- #979: Change Ordered set implementation from orderedset to ordered-set, as the former is not maintained anymore
- #982: Read files as binary to avoid decoding errors
- #241: Support ‘slashconf’ directory
- #998: Choose IPython colors scheme for interactive test
- Corrected behavior of float and int test details in xunit output
- #985: Fix a bug where Slash did not expand parameterizations used through use_fixture properly
- #991: Fix detection of yield-fixture when combined with parametrization
1.8.0
- Drop support for deprecated arguments of
add_cleanup
- Drop support for old-style assertions
- Added support for getting the currently active scope (
test
,module
orsession
) through the newget_current_scope
API.session.scope_manager.current_scope
is also availab - Support was added for terminals with light backgrounds by changing
log.console_theme.dark_background
configuration - Slash now emits a log record when handling fatal errors
- Add tests and suite execution time to xunit plugin
- Add
slash.ignored_warnings
context
1.7.10
- Restore behavior of exceptions propagating out of the
test_start
ortest_end
hooks. Correct behavior is for those to fail the test (thanks @pierreluctg) - Parallel sessions now honor fatal exceptions encountered in worker sessions
- Fixed a bug causing requirements to leak across sibling test classes
1.7.9
1.7.8
1.6.0
- Keyword arguments to
registers_on
now get forwarded to Gossip'sregister
API - Added a new configuration flag,
log.show_raw_param_values
, defaulting toFalse
. If set to True, log lines for beginnings of tests will contain actual parametrization values instead of format-safe strings. slash.exclude
can now exclude combinations of parameter values- Session errors in children are now handled and reported when running with parallel
- Plugins can now be marked to indicate whether or not they support parallel
execution, usingslash.plugins.parallel_mode
. To avoid errors, Slash assumes that unmarked
plugins do not support parallel execution. - Added
config.root.run.project_name
, which can be configured to hold the name of the current project. It defaults to the name of the directory in which your project's .slashrc is located - Fix handling exceptions which raised from None in interactive session
- Added new hooks:
before_session_cleanup
,after_session_end
1.5.1
1.5.0
1.4.4
1.4.3
- Improve handling of interruption exceptions - custom interruption exceptions will now properly cause the session and test to trigger the
session_interrupt
andtest_interrupt
hooks. Unexpected exceptions likeSystemExit
from within tests are now also reported properly instead of silently ignored - Properly initialize colorama under Windows
- Support overriding notifications plugin's
from_email
by configuration