Skip to main content

50 docs tagged with "testing"

View All Tags

Adding Custom Stringizers

NOTE: code snippets in this article omit #include directives for brevity. You must remember to include the required header files!

Criterion

The Criterion testing framework is available in its Github repository. Reference for the Criterion API can be found here//criterion.readthedocs.io/en/master/intro.html.

JUnit

You can use JUnit 4 or 5 in Codewars. 5 offers nesting, pretty name display and multiple test classes.

lc-test

To run tests for Lambda Calculus programs, Codewars uses a custom compiling and testing framework, published and available in this GitHub repository.

PHPUnit

All PHPUnit tests start with a subclass of TestCase. You can then add one or more test case methods to that class, each of which must be public and start with test. In Codewars' PHP versions 7.4+, PHPUnit requires the name of the test class to end with Test.

testest

To run Factor tests, Codewars currently uses a custom test vocabulary, published and available in this GitHub repository.