Skip to content

codecamp/shellwhat

 
 

Repository files navigation

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

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

FOSSA Status

Packages

 
 
 

Contributors

Languages

  • Python 97.1%
  • Dockerfile 1.8%
  • Makefile 1.1%