Skip to content

Releases: mgautierfr/rustest

0.3.1

04 Jun 21:54
41b236c

Choose a tag to compare

Changed

  • Rename inner trait method ToParamName::into() to ToParamName::into_param_name() to avoid
    conflict with Into::into() in user code.

0.3.0

04 Jun 20:39
824a2ee

Choose a tag to compare

Added

  • New TempDir fixture
  • New MatrixUnique scope (use "matrix" in macro fixture definition)
  • Allow custom visibility for Param
  • Allow user to give a explicit name for the params
  • Various improvements of the CI and github tools (thanks to @rursprung)

Changed

  • Unique("unique") scope is now called Once("once").
  • Introduce ParamName trait. User should implement ParamName instead of TestName when needed.
  • Test functions do not need to be UnwindSafe. We assume they are with AssertUnwindSafe.

Fixed

  • Fix "unique" fixture to not share states.
  • Fix TempFile fixture to not share states.
  • Fix Global fixture, to cache the subfixture (as unique scope do not share scope).

0.2.0

19 May 15:46
dfb35d7

Choose a tag to compare

  • Support unittest.
  • Better testing of rustest
  • Add support for googletest matchers
  • Add documentation
  • Introduce 2 steps setup
    . Tests are setup at first step, without fixture creation.
    . Fixtures are created just before tests run.
  • TestName (formelly FixtureName) only have to be defined (and are automatically) for Param.
  • User types don't need to impl TestName
  • Fix defining fixtures in sub-modules
  • Introduce new crate rustest-fixtures, a collection of standard fixtures.
  • Add support for (conditional) ignore test.
  • Lot of code improvements.

0.1.0

01 Apr 09:25
83d6f22

Choose a tag to compare

Version 0.1.0

  • Cleanup code
  • Add documentation
  • Better API
  • Add tests

0.0.2

28 Mar 15:54

Choose a tag to compare

  • Clean up source code.
  • Add some tests
  • Fix repository and homepage link
  • Make tests directly parametrizable without using fixture.