Extensions to shellwhat testing
Extensions to shellwhat testing.
Including in a DataCamp course
In the course's
# 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
- Open a PR, merge into master when appropriate.
- Once merged, increment
__version__ = 0.0.1to reflect changes (see semver for guidance).
- Create a github release labeled
v0.0.1. (see here).
make install make test
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.