Skip to main content

The 'exiot' is a testing tool to test the executable STDIN, STDOUT, STDERR, and many more.

Project description

Executable I/O Testing Tool (exiot)

The (exiot) is a testing tool to test the executable STDIN, STDOUT, STDERR, and many more.

Getting Started

In order to install the latest "stable" version of the tool you can use the pip.

pip install exiot

In order to get latest version of the tool you can just clone the repository:

git clone https://github.com/pestanko/exiot.git

and then use the poetry to install dependencies, or just install them manually (dependencies are optional).

cd exiot
poetry install

Optional dependencies:

  • junitparser - to produce the junit report
  • pyyaml - to parse yaml schemas and generate yaml reports

You can install them manually if you do not want to use the poetry

pip install junitparser pyyaml 

Usage

Show help:

$ python -m exiot --help

Parse the tests

Parse the tests - show all available tests:

python -m exiot parse tests/prepared_data/single_fail

Parse the tests - show all available tests, dump them as json or yaml (if pyyaml installed):

python -m exiot parse -o json tests/prepared_data/single_fail
# or yaml if PyYAML installed
python -m exiot parse -o yaml tests/prepared_data/single_fail

Run the tests

Run tests in directory:

python -m exiot -Linfo exec -E ./myexec ./tests

Run Mini Homeworks:

# -p parameters specifies the "parser" - minihw is special parser for parsing the mini homeworks for FI:PB071
python -m exiot -Linfo exec -p minihw /home/user/src/c/mini05

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

exiot-0.0.1a2.tar.gz (18.3 kB view hashes)

Uploaded Source

Built Distribution

exiot-0.0.1a2-py3-none-any.whl (17.8 kB view hashes)

Uploaded Python 3

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