Submission correctness tests for shell languages
shellwhat enables you to write Submission Correctness Tests (SCTs) for interactive Shell exercises on DataCamp.
- If you are new to teaching on DataCamp, check out https://authoring.datacamp.com.
- If you want to learn what SCTs are and how they work, visit this article specifically.
- For a complete overview of all functionality inside
shellwhatand articles about what to use when, consult https://shellwhat.readthedocs.io.
pip install shellwhat
Without the Osh parser ...
export SHELLWHAT_PARSER='0' pytest -m "not osh"
With the Osh parser using docker ...
# install osh parser docker image make dev export SHELLWHAT_PARSER='docker' # run tests pytest
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size shellwhat-0.6.1.tar.gz (4.6 kB)||File type Source||Python version None||Upload date||Hashes View|