https://github.com/russelljjarvis/autograding-example-python
https://github.com/russelljjarvis/autograding-example-python
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/russelljjarvis/autograding-example-python
- Owner: russelljjarvis
- Created: 2022-07-22T03:23:54.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-22T04:05:51.000Z (almost 3 years ago)
- Last Synced: 2025-01-10T03:18:52.236Z (5 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Autograding Example: Python
This example project is written in Python, and tested with pytest.### The assignment
The tests are failing right now because the method isn't outputting the correct string. Fixing this up will make the tests green.# Passing the assignment
* Making the tests green on your local computer, git commiting the tests and then pushing the code will mean that you pass the assignment and the instructors can see that you pass on our end.### Setup command
# on Ubuntu:
`sudo -H $(which pip) install pytest`
# on Apple:
`sudo -H $(which pip) install pytest`
# on Windows/Gitbash:
Let us know if you use gitbash and we will come to you.
### Run command
`pytest`### Notes
- pip's install path is not included in the PATH var by default, so without installing via `sudo -H`, pytest would be unaccessible.