metrumresearchgroup / rcmdparser

0 stars 0 forks source link

Non standard testthat file names fail to test correctly #10

Open david-lyder opened 5 years ago

david-lyder commented 5 years ago

The test output shows that no tests were run: "Tests": { "Ok": 0, "Skipped": 0, "Failed": 0, "Unknown": 1, "Output": "", "Available": false } However, folders are present, but the file was missed because the name is test-all.rout, which does not match the convention expected.

dpastoor commented 5 years ago

Background:

Initially it seemed sufficient to parse files with a name like test-all.rout* to find the status of all executed tests. Later, files with different names were discovered that also contain test status.

proposed heuristic:

dpastoor commented 5 years ago

for the heuristic, suggest using globbing via https://github.com/gobwas/glob