Skip to content

datacamp/shellwhat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

228d714 · Jun 21, 2022
Jan 27, 2020
Feb 3, 2020
Feb 3, 2020
May 17, 2018
Nov 6, 2018
Feb 3, 2020
May 10, 2019
Nov 26, 2018
Dec 14, 2018
Aug 27, 2018
Jun 21, 2022
May 17, 2018
Feb 3, 2020
Feb 3, 2020

Repository files navigation

⚠️ This repo has outdated tokens in its travisci config To make new releases for this project it needs to be moved to circleci

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