ILXL / ILXL/rubricscore

test suites and test cases

Open
#4 4 comments 0 reactions 3 assignees Claimed by @NamanhTran View on GitHub
Dominant language
C++
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

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:

```cpp
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.
https://github.com/ILXL/rubricscore/blob/b6751942e5abf9f3831471f7c7fceb0d95ae65d4/rubricscore.cpp#L86
https://github.com/ILXL/rubricscore/blob/b6751942e5abf9f3831471f7c7fceb0d95ae65d4/rubricscore.cpp#L249

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.