Skip to main content

Submission correctness tests for shell languages

Project description

shellwhat

Build Status codecov PyPI version

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

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

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

shellwhat-1.0.0.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file shellwhat-1.0.0.tar.gz.

File metadata

  • Download URL: shellwhat-1.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.5.6

File hashes

Hashes for shellwhat-1.0.0.tar.gz
Algorithm Hash digest
SHA256 41c969c8499865b3e61ee897f81d6747f5926d3059459757cdc6a68dc8f5a2d3
MD5 39548b35a2a3cf03c75b0a91fd4a6e01
BLAKE2b-256 8aad1043042687e9751d257b00100533795579b424b7f079011c94a1bfe9cf65

See more details on using hashes here.

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