fcfTest icon
fcfTest icon

fcfTest

fcfTest is a lightweight header-only cpp (>= C++11) unit testing framework. Unittest library for TDD. Modern. Zero-dependency. Benchmarking. Logging.

Cost / License

  • Free
  • Open Source (MIT)

Application type

Platforms

  • Linux
  • Windows
  • BSD
1like
0articles
Save

Features

  1.  C++
  2.  Unit Testing

fcfTest News & Activities

Highlights All activities

Recent activities

fcfTest information

AlternativeTo Category

Development

GitHub repository

  •  1 Stars
  •  0 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
fcfTest was added to AlternativeTo by Vladimir Markin on and this page was last updated .

No comments or reviews, maybe you want to be first?

What is fcfTest?

fcfTest is a lightweight C++ (>= C++11) unit testing framework. Modern, zero-dependency, header-only cpp unittest library for TDD.

It provides a simple single-macro interface (FCF_TEST) for seamless assertion checks and automatic variable tracking using standard library components.

Designed as an easy-to-integrate, standalone C++ test library, it includes built-in test registration, a comprehensive command-line test runner (CLI), a native logger, and benchmarking tools for precise execution time measurement.

Supports separate output to std::cout and files, with selectable formats (default/junit).

It also supports performing checks and logging in multithreaded environments

The library is distributed as a single header file: fcfTest/test.hpp.

To use the library, you must define the FCF_TEST_IMPLEMENTATION macro before including the header file in your application's main cpp file to avoid errors due to multiple definitions.