Extensions to shellwhat testing
Project description
shellwhat_ext
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
- Open a PR, merge into master when appropriate.
- Once merged, increment
__version__ = 0.0.1
to reflect changes (see semver for guidance). - Create a github release labeled
vVERSION
. E.g.v0.0.1
. (see here).
Running tests
make install
make test
Project details
Release history Release notifications | RSS feed
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 details)
File details
Details for the file shellwhat-ext-0.4.1.tar.gz
.
File metadata
- Download URL: shellwhat-ext-0.4.1.tar.gz
- Upload date:
- Size: 10.5 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7ecfa7e7c8e6c41a00ad07cfb48750ec2520b79acb78ea538f77909b69e6185 |
|
MD5 | 48c8f9df0e20034e0e412496d51bb406 |
|
BLAKE2b-256 | 359c0245d885134aeeb1bfd80102ecec4f7aedf7dd65531f6a6388c02400d784 |