Skip to main content

Submission correctness tests for shell languages

Project description

shellwhat

Build Status codecov PyPI version FOSSA Status

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

Installing

pip install shellwhat

Development

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

License

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 details)

Uploaded Source

File details

Details for the file tcs-shellWhat-1.5.0.tar.gz.

File metadata

  • Download URL: tcs-shellWhat-1.5.0.tar.gz
  • Upload date:
  • Size: 21.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for tcs-shellWhat-1.5.0.tar.gz
Algorithm Hash digest
SHA256 716e0b646a97de37cd2cafeeccd0997cf660011a0d104ee33aee3a8e5c5e5e62
MD5 f81697f201ba20b377bb1ae48fdf108d
BLAKE2b-256 f9f1a9962fa5b137f08e707dfcc54a64fe03b3a765da24624aa4a48776c001cb

See more details on using hashes here.

Supported by

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