Submission correctness tests for shell languages
Project description
shellwhat
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
shellwhat
and articles about what to use when, consult https://shellwhat.readthedocs.io.
Installing
pip install shellwhat
Development
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shellwhat-0.6.1.tar.gz
(4.6 kB
view details)
File details
Details for the file shellwhat-0.6.1.tar.gz
.
File metadata
- Download URL: shellwhat-0.6.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e79ca5ba437001339a9f9d47445d740772a02faf0ac80b73ced0e547f11d2f5 |
|
MD5 | 5465999fbb20643f765823efd9cb591a |
|
BLAKE2b-256 | 902559305c73ad1f5106aa39061eb1b7c4d3bcd2895413da12b0f0d9d918eace |