Skip to main content

Extensions to shellwhat testing

Project description

shellwhat_ext

Build Status codecov PyPI version

Extensions to shellwhat testing.

Including in a DataCamp course

In the course's requirements.sh, add

# replace 0.0.1 with the appropriate release version
pip3 install --no-deps shellwhat-ext==0.0.1

To use the extensions in an exercise's SCT, import the function you want into the SCT block of the exercise:

from shellwhat_ext import test_cmdline
Ex() >> test_cmdline([['wc',   'l', '+']])

Deploying to PyPI

Follow these steps

  1. Open a PR, merge into master when appropriate.
  2. Once merged, increment __version__ = 0.0.1 to reflect changes (see semver for guidance).
  3. Create a github release labeled vVERSION. E.g. v0.0.1. (see here).

Running tests

make install
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-ext-0.4.1.tar.gz (10.5 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