Skip to content

Releases: ShashwatAgrawal20/tec.h

v1.3.0

01 Jan 08:47

Choose a tag to compare

Highlights

MSVC is now supported

  • Removed the hard MSVC ban
  • MSVC builds are supported by compiling test sources as C++ (/TP, /EHsc)

Library Changes

  • Refactored TEC_TRY_BLOCK internals to better support both C and C++
  • Fixed cross-compilation issues related to noexcept detection

Note

TEC_TRY_BLOCK now takes a code argument:

TEC_TRY_BLOCK({
    /* test code */
});

Compiler & Portability Fixes

  • Fixed test registration in C++ by removing reliance on constructor attributes

Full Changelog: v1.2.1...v1.3.0

v1.2.1

25 Dec 10:52

Choose a tag to compare

Full Changelog: v1.2.0...v1.2.1

Windows Quickstart

  • MSVC is not supported.
  • Use MinGW-w64 or clang or clang-cl.(Not sure about clang-cl)
  • CMake with the above compilers is the recommended build system on Windows, don't use MSVC.

Docs

  • Mention the CLI flags support and their use.
  • Explicit about MSVC not being supported.
  • Clear behavioral mention related to priority. ( CLI flags > ENV vars > auto detect)

Minor Bug fixes

  • Platform specific isatty support and TERM detection via windows API for windows.
  • Fixed the ENV vars overriding the CLI flags.
  • Makefile and CMakeLists.txt changes for windows specific things.(Makefile still has some issues with windows though)

v1.2.0

22 Dec 11:27

Choose a tag to compare

Full Changelog: v1.1.0...v1.2.0

v1.2.0

Added

  • --no-color and --ascii flags for explicit output control
  • --fail-fast to stop execution on the first test failure
  • Smarter terminal and color auto-detection
  • Negative test filtering support

Fixed

  • CI color output via FORCE_COLOR
  • Filter exclusion logic
  • Assertion counting order
  • CI workflow and documentation cleanup

v1.0.1

17 Oct 17:38

Choose a tag to compare

Full Changelog: v1.0.0...v1.0.1
pepe-smoking

v1.0.0

17 Oct 10:40

Choose a tag to compare