A very simple testing framework that rejects all previous testing designs and aims for plain wording, simple usability, and ease of debugging. You will never ask where a failure was ever again.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
fuc2/tests/main.cpp

17 lines
305 B

#include <fuc2.hpp>
// you can also place these into a .hpp you include if
// they're too numerous to manage
namespace sample1 {
extern fuc2::Set TESTS;
}
namespace sample_failing {
extern fuc2::Set TESTS;
}
int main(int argc, char* argv[]) {
run(sample1::TESTS);
run(sample_failing::TESTS);
}