Skip to content

Releases: boost-ext/ut

v2.1.1

10 Nov 14:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.1.0...v2.1.1

v2.1.0

24 Jul 13:32
Compare
Choose a tag to compare

v2.0.1

18 Dec 19:11
Compare
Choose a tag to compare
:arrow_up: v2.0.1

v2.0.0

05 Oct 06:16
Compare
Choose a tag to compare

μt - C++20 single header/module, macro-free μ(micro)/Unit Testing Framework

Linux MacOs Windows Coveralls Try it online

"If you liked it then you "should have put a"_test on it", Beyonce rule

UT / μt

C++ single header/single module, macro-free μ(micro)/Unit Testing Framework

#include <boost/ut.hpp> // import boost.ut;

constexpr auto sum(auto... values) { return (values + ...); }

int main() {
  using namespace boost::ut;

  "sum"_test = [] {
    expect(sum(0) == 0_i);
    expect(sum(1, 2) == 3_i);
    expect(sum(1, 2) > 0_i and 41_i == sum(40, 2));
  };
}
Running "sum"...
  sum.cpp:11:FAILED [(3 > 0 and 41 == 42)]
FAILED

===============================================================================
tests:   1 | 1 failed
asserts: 3 | 2 passed | 1 failed

https://godbolt.org/z/f4jEcv9vo


v1.1.9

08 Mar 14:46
Compare
Choose a tag to compare
:art: Update BDD scenario to use aligned GWT

v1.1.8

02 Aug 22:02
Compare
Choose a tag to compare

[Boost::ext].μt - C++ single header/module, macro-free μ(micro)/Unit Testing Framework

v1.1.7

15 Mar 18:15
Compare
Choose a tag to compare

[Boost].μt - C++ single header/module, macro-free μ(micro)/Unit Testing Framework

v1.1.6

12 Jan 17:25
Compare
Choose a tag to compare

[Boost].μt - C++ single header, macro-free μ(micro)/Unit Testing Framework

v1.1.5

23 Dec 17:04
Compare
Choose a tag to compare

[Boost].μt - C++ single header, macro-free μ(micro)/Unit Testing Framework

v1.1.4

06 Dec 22:39
Compare
Choose a tag to compare

[Boost].μt - C++ single header, macro-free μ(micro)/Unit Testing Framework