Coder Social home page Coder Social logo

jcash / jctest Goto Github PK

View Code? Open in Web Editor NEW
41.0 5.0 5.0 5.13 MB

A small and fast C++ single header only test framework

Home Page: https://jcash.github.io/jctest/

License: MIT License

Batchfile 1.14% Shell 4.32% C++ 83.18% C 0.94% Python 0.19% HTML 6.11% CSS 4.12%

jctest's Introduction

License Version Size Build Status

Documentation

https://jcash.github.io/jctest/ (or here)

jctest

A C++ single file, header only test framework

See documentation for a full list of features

Disclaimer

This software is supplied "AS IS" without any warranties and support

License

The MIT license

Contributing

  • Make pull requests towards the dev branch.
  • All tests must pass (on Travis-CI)
  • No added warnings to the code (according to Travis-CI)
  • New features must have unit tests

As a general rule, take care to keep the performance high in this library.

Code of conduct

Contributor covenant

jctest's People

Contributors

jcash avatar ncihnegn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jctest's Issues

Add more structured logger interface

Currently, overriding the logging interface is not easy since it provides argument lists of varying sizes.
Colouring is also an aspect that is cluttering the code.

Personally, I'd like to use it to verify that the printouts work as intended for failed tests.

one memory leak

The following allocation is never destroyed:
g_test_global_state = new jc_test_state;

debug break on failure option

With googletest, the command line option "--gtest_break_on_failure"
allows to break into the debugger.
This is quite handy during development. I wish such an option would be available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.