TTS v4.1.0
The Tiny Test System
Loading...
Searching...
No Matches
Change Log

Upcoming version

What's Changed

Breaking Changes

  • Remove tts::realistic_generator: replace it with tts::randoms (#279)
  • Remove --block and TTS_BLOCK, and keep their default, at least 4096 combinations of values, for the generators other than tts::sweep and tts::sample (#279)

New Features

  • Add tts::sweep and tts::sweep(lo, hi), for a range check on every value of a type or of a range, NaN excepted (#279)
  • Add tts::sample(n) and tts::sample(lo, hi, n), for a range check on n values spread over a type or a range (#279)
  • Add tts::enumeration<T>, which ranks the values of T for tts::sweep and tts::sample: specialize it for a user-defined type to sweep or sample that type (#279)
  • Run a range check in a memory that does not grow with its number of calls, without keeping every input and result (#279)
  • Use OpenMP, when available, to speed up the range checks using tts::sweep or tts::sample (#279)

Bug Fixes

  • Rewrite the reference entries of the test macros, which cited functions removed in 4.0 and gave wrong briefs (#280)
  • Keep tts::random_value(lo, hi) within [lo, hi] for a floating-point type, which the rounding of its log-uniform draw could overstep (#279)
  • Apply --valmin and --valmax to range checks, which no generator read from 3.0 to 4.1 (#279)
  • Fix the distance tts::ulp_check measures between values of opposite signs, of a floating-point type or of a signed 8- or 16-bit integer type, and the crash of a range check over these integers (#279)

Version 4.1

What's Changed

New Features

Bug Fixes

Infrastructure

Version 4.0 - V.I. Warshawski

What's Changed

Breaking Changes

New Features

Version 3.0 - Beatrice Adela Bradley

What's Changed

A large body of work (https://github.com/jfalcou/tts/pull/105) has been done to make TTS compile-time far better. This affects the user API a tiny bit, hence the bump to TTS v3.0.

Infrastructure

Bug Fixes

New Features

New Contributors

  • SadiinsoSnowfall

Detective who?

Beatrice Adela Bradley.

Version 2.2 - Aubrey Bradimore

What's Changed

Infrastructure

  • We are now under the Boost Software Licence 1.0
  • Enable Android tests and support
  • Clarify some output when failures occur

New Features

  • Implement ALL_EQUAL
  • Test can now use configurable, automatic data generator (https://github.com/jfalcou/tts/pull/53)
  • TTS_EXPECT_COMPILES/COMPILE_NOT check if a fragment of code can be compiled or not
  • Reimplement TTS_WHEN and TTS_AND_THEN to support sub-tests
  • Add typed tests that checks both value and exact type

Bug Fixes

  • Fix Visual Studio interaction with constexpr tests
  • Improve random generators and seed management

Detective who?

Aubrey Bradimore, this is a Christmas Release afterall

Version 2.1 - Cordelia Gray

What's Changed

  • Fix #42 - Proper FetchContent support
  • Better compatibility
  • Enable EMSCRIPTEN tests and supports
  • Add tests over sequences

Detective who?

Cordelia Gray, a very suitable detective

Version 2.0 - Kay Scarpetta

TTS version 2.0 is taking a major break from an earlier version. Compile-time was creeping upward and some features were not that useful. So the code base got streamlined and simplified.

This version is a Major Release With API Changes release:

Breaking API Changes:

  • Removal of support for colors
  • Removal of support for sub-scenario
  • Silent mode for tests is the default. The only information displayed concerns failures

Features:

  • Improved compile-times
  • Output streamlined to fit machine processing in CI context or scripts
  • Better handling of template test cases: less generated symbol, better flexibility in inputs (list of types or types list generator)

Detective who?

Kay Scarpetta, the private forensic consultant.

Version 1.0 - Phoebe Daring

This version is a Major Release With API Changes release:

Breaking API Changes:

To support some of the new feature and simplify some macros, TTS API is now based on a lambda system. If this doesn't change the way tests are performed, it now requires to end all tests cases by a ;.

Bug Fixes:

  • Fix #3 - TTS_TPL_CASES now use meta-function based system for types generation
  • Fix #32 - Provide a way to log arbitrary data when failures occur
  • Fix #33 - Provide the REQUIRED option on tests to halt tests at first failure
  • Fix #34 - Provide a command-line option to fix precision when displaying floating points
  • Fix #37 - Stop displaying char const* as a string.

Detective who?

Phoebe Daring, the first half of the Daring Twins since 1912.

Version 0.2 - Kate Fansler

This version is a fix+features release:

  • Fix #20 - Make string and pointers display in a more intuitive way
  • Fix #23 - Add proper parens in EXPECT macro
  • Add support for constexpr expectation and relational tests
  • TTS_CASE_TPL now generates one scenario per type
  • Fix #21 - Add runtime filtering for tests based on description string

Detective who?

Kate Fansler, solving academic crimes since 1964.

Version 0.1 - Cadfael

First public release.

TTS first complete release enables numerically oriented TDD including:

  • precision testing
  • checks over the data set
  • easy to customize the use of user-defined types.

Detective who?

Cadfael is probably the eldest of all amateur detectives in history.