Skip to content
nlukaPublic

About

Lightweight testing library for C++20.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

31 Commits

Folders and files

Repository files navigation

ntest

A simple and lightweight library for testing in C++20.

Table of contents:

Features

  • No 3rd party dependencies, just the STL
  • No complicated build system, just 2 files and a C++20 compiler
  • Simple but useful markdown reports
  • Built-in assertion functions for:
    • integral types:
      • bool
      • int8_t, uint8_t
      • int16_t, uint16_t
      • int32_t, uint32_t
      • int64_t, uint64_t
    • containers:
      • char* strings
      • std::string
      • T[]
      • std::vector
      • std::array
    • text and binary files
    • exceptions

Getting Started

To learn the basics of ntest, see the short example provided. After that, check out the validation to see all the features in action.

About

Lightweight testing library for C++20.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages