-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
I have been using test suites and test cases. Is it possible for grading to consider the cases too?
I often use it to distinguish test cases for a particular class like this:
TEST(Cup, DefaultConstructor) {
...
}
TEST(Cup, drink){
...
}I think the current code uses the test suite name and only gives points when there are 0 failures.
Line 86 in b675194
| auto testsuites = tree.get_child("testsuites"); |
Line 249 in b675194
| bool worked = (0 == suite.failures()); |
Not sure what the best way to go would be, but maybe have grades associated with test cases instead, and check if the value of result is completed? Might need to investigate this further though.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels