Skip to main content

Test enviroment for CLI application

Project description

mazikeen test framework is designed for Command Line Applications. It’s main feature is that every test has it’s own directory. mazikeen empathise parralel testing.

The test structure looks like:

Testsuit1
├── Testcase1
│   └── script.yaml
├── . . .
└──TestcaseN
    └── script.yaml
Testsuit2
├── Testcase1
│   └── script.yaml
├── ...
└──TestcaseN
    └── script.yaml

An example of a simple test:

  # content of script.yaml
---
steps:
  - rmdir: Output
  - makedirs: Output
  - run: echo "Hello World" > Output/hello.txt
  - diff: Output/hello.txt Expected/hello.txt

To execute it:

$ mazikeen
[RUN       ] --- simple
[    PASSED] --- simple
----------------------------------------------------------------
Total test cases: 1 passed: 1 skipped: 0 error: 0 failed: 0
----------------------------------------------------------------
process time: 0.02 execution time: 0.01

Features

  • Every test case is a directory. Making it very to debug a failing test as all relevant data is stored in one place.

  • Parallel execution support. Testscases can be executed in parallel. A testcase can call multiple CLI applications in parallel.

Documentation

For full documentation, please see https://github.com/hanniballar/mazikeen/blob/master/Documentation/Mazikeen.rst .

Bugs/Requests

Please use the GitHub issue tracker to submit bugs or request features.

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

mazikeen-1.1.2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mazikeen-1.1.2-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file mazikeen-1.1.2.tar.gz.

File metadata

  • Download URL: mazikeen-1.1.2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for mazikeen-1.1.2.tar.gz
Algorithm Hash digest
SHA256 bdab94bfcdcd466408ce27d287b8f8deaef488616da0862055a906c91f4b7374
MD5 38247b6334f6dc9ecb99cce8d7b4c3a0
BLAKE2b-256 a856f5be52654623f0dc87d6db2a3f1fa67fe7e2e47c76d5b21227cd237c2c0b

See more details on using hashes here.

File details

Details for the file mazikeen-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: mazikeen-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9

File hashes

Hashes for mazikeen-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 84d2b2ba8acdda9da5a6d4cb6a32754cff61dbe48fa4b4113387a25d3b021f75
MD5 bc27e6f3def225a709dd7a004d063281
BLAKE2b-256 c5e23b1d28ee32107a6da28bed99ceae241cf7b400622a9e3ad682b8bc21e59c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page