Skip to main content

JingeR: Jinja generator for Robot Framework

Generate data-driven Robot Framework testcases using Jinja templates.

Use Cases

  • Generate tests for a REST API
  • Static test generation (as opposed to dynamic test generation using the Listener interface)

How to use it

  1. Install the package
pip install robotframework-jinger
  1. Save the default template to the current directory
jinger init

Hint: In case your environment does not allow executing jinger, call the Python module directly:

python -m JingeR init
  1. Modify the template and the testdata

Notes

  • Each RF variable in the template that should be replaced by its value must be named according to the following pattern: ${T_foo}.
  • The template file is a valid .robot file in order to allow testing the template test case without having to first run Jinja to process the file.
  1. Generate a Robot Framework testsuite
jinger run testcase.jinja.robot testdata.py testcase.robot

Note: For debugging purposes the variables that were replaced in the template can be printed as comments in the generated .robot file by passing the option --debug to jinger run.

How it works

  1. The .robot template file is converted to a Jinja template. This involves uncommenting the Jinja for-loop and replacing all RF variables of the form ${T_var} with {{var}}.
  2. Jinja processes the template.
  3. The resulting list of testcases is written to the .robot file passed as last argument to jinger run

Metadata

Release files for robotframework-jinger 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for robotframework-jinger 1.0.1
File Size Uploaded Provenance
robotframework_jinger-1.0.1.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for robotframework-jinger 1.0.1
File Interpreter ABI Platform
robotframework_jinger-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 12.7 kB

Release files / robotframework_jinger-1.0.1.tar.gz

Download URL robotframework_jinger-1.0.1.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
3df687ba65b2e74c08a763181d3f23576108290948f7748fa78518b64ba6215b
BLAKE2b-256 checksum
How to use checksums
2ef2887b78eac9d4ad52bd067a915d979ff638a5cbadee9aeb8ebfb32d2447cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Release files / robotframework_jinger-1.0.1-py3-none-any.whl

Download URL robotframework_jinger-1.0.1-py3-none-any.whl
Size 9.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c0aa6d5258617e11ee3ddbe620fc8b7902d5cda5176ec5a5e7f6854dbe444a3d
BLAKE2b-256 checksum
How to use checksums
e5aa69798feaefd0ef72235b1b9c6b790ec0a5946049c0de74c50221fd3627fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.12.1

Security for robotframework-jinger 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page