nickbradley / autotest

CPSC 310 GitHub integration service.
1 stars 2 forks source link

Better support for malformed test names #8

Closed nickbradley closed 7 years ago

nickbradley commented 7 years ago

The regex is too simple for extracting test descriptions: support descriptions that don't end with a period.

nickbradley commented 7 years ago

Instead of taking the substring from the last ~ to the first ., now take everything after last ~. However, still expect tests to have the form ~TEST_NAME~test description.

Fixed applied to results/_design/grades/_view/byTeamDeliverableCommit