Skip to content

Commit

Permalink
Merge pull request #52 from gradescope/tim/explain-default-test-loade…
Browse files Browse the repository at this point in the history
…r-discover
  • Loading branch information
ibrahima committed May 25, 2021
2 parents f8c69fb + 9f83760 commit ce30025
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ JSONTestRunner().run(suite)
```

This will load tests from the `tests/` directory in your autograder source code,
[loading only files starting with `test` by default](https://docs.python.org/3/library/unittest.html#unittest.TestLoader.discover).
`JSONTestRunner` is included in `gradescope-utils`, as described below.

# Files

## [setup.sh](https://github.com/gradescope/autograder_samples/blob/master/python/src/setup.sh)
Expand Down

0 comments on commit ce30025

Please sign in to comment.