Describe the bug
The tests written for the project are using different types of syntax:
TEST_CASE("Test description", "ComponentUnderTest") {
// Test code
}
vs.
TEST_CASE("test_description", "ComponentUnderTest") {
// Test code
}
vs.
TEST_CASE("ComponentUnderTest") {
SECTION("Test description") {
// Test code
}
}
vs.
TEST_CASE("ComponentUnderTest") {
SECTION("test_description") {
// Test code
}
}
This is very confusing and a common guideline is difficult to pin down.
To Reproduce
Look at the .cpp test files in tests/.
Expected behavior
All of the tests should have this format:
TEST_CASE("ComponentUnderTest") {
SECTION("Test description") {
// Test code
}
}
Describe the bug
The tests written for the project are using different types of syntax:
vs.
vs.
vs.
This is very confusing and a common guideline is difficult to pin down.
To Reproduce
Look at the
.cpptest files intests/.Expected behavior
All of the tests should have this format: