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://instructor-support.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.
Installing
pip install shellwhat
Development
By default, the DummyParser is used, that does not parse the shell code.
Hence, you can not run tests that need this parser:
pytest -m "not osh"
If you also want to run these 'parser tests', there is Dockerfile to parse shell commands with the Oil parser:
# Look in Makefile for details
export SHELLWHAT_PARSER='docker'
make test
License
Release files for shellwhat 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| shellwhat-1.2.0.tar.gz | 19.2 kB | Details |
Release files / shellwhat-1.2.0.tar.gz
| Download URL | shellwhat-1.2.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
edc318d03f2516e91902eee055510e1a0be45b289978bf1810ae906ef399762a
|
|
BLAKE2b-256 checksum How to use checksums |
960de229fc59d8154d8fd6be6f2ade6221ea2b1ce515041c4225d44aaf2809d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.5.6
|