Skip to main content

Submission correctness tests for shell languages

Project description


Build Status codecov PyPI version FOSSA Status

shellwhat enables you to write Submission Correctness Tests (SCTs) for interactive Shell exercises on DataCamp.


pip install shellwhat


Install everything needed for developing:

pip install -r requirements.txt
pip install -e .

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 a Dockerfile to parse shell commands with the Oil parser:

# Look in Makefile for details
SHELLWHAT_PARSER='docker' make test


FOSSA Status

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcs-shellWhat-1.5.0.tar.gz (21.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page