Skip to content

Releases: getslash/slash

1.9.0

02 Dec 11:06
Compare
Choose a tag to compare
  • 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

03 Jul 12:55
Compare
Choose a tag to compare
  • Drop support for deprecated arguments of add_cleanup
  • Drop support for old-style assertions
  • Added support for getting the currently active scope (test, module or session) through the new get_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

30 Apr 08:29
Compare
Choose a tag to compare
  • Restore behavior of exceptions propagating out of the test_start or test_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

11 Mar 20:58
Compare
Choose a tag to compare
  • Revert console coloring change, as it does not behave consistently across different terminals

1.7.8

04 Mar 10:45
Compare
Choose a tag to compare
  • Return code for failed sessions was changed to 1 (from -1)
  • Corrected terminal colors for light-backgrounded terminals

1.6.0

06 May 08:31
Compare
Choose a tag to compare
  • Keyword arguments to registers_on now get forwarded to Gossip's register API
  • Added a new configuration flag, log.show_raw_param_values, defaulting to False. 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, using slash.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

10 Mar 20:52
Compare
Choose a tag to compare
v1.5.1

1.5.0

10 Mar 20:52
Compare
Choose a tag to compare
v1.5.0

1.4.4

21 Sep 07:08
Compare
Choose a tag to compare
  • Fix terminal coloring for non-TTY terminals (fixes regression introduced by 1.4.3)

1.4.3

14 Sep 08:13
Compare
Choose a tag to compare
  • Improve handling of interruption exceptions - custom interruption exceptions will now properly cause the session and test to trigger the session_interrupt and test_interrupt hooks. Unexpected exceptions like SystemExit 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