A robotframework library for managing implicit context for BDD keywords
Project description
robotframework-implicitcontext
A simple robotframework resource for using implicit context in BDD tests.
INSTALL:
pip install robotframework-implicitcontext
IMPORT:
Resource ImplicitContextLibrary/ImplicitContextKeywords.resource
CREATE SOME KEYWORDS:
A new robotalk titled "${talk_title}"
${a_robotalk}= Create Robotalk ${talk_title} # Your Keyword
Push Implicit Context robotalk ${a_robotalk}
[Return] ${a_robotalk}
The ${idx_name:first|second|third|fourth|fifth|last|next-to-last} robotalk has not yet received applause
${a_robotalk}= Get Implicit Context robotalk ${idx_name}
Robotalk Should Not Have Applause ${a_robotalk} # Your Keyword
USE THE KEYWORDS:
Given a new robotalk titled "My Talk"
And a new robotalk titled "Another Talk"
Then the first robotalk has not yet received applause
And the second robotalk has not yet received applause
TK:
- Link to generated libdoc
- Link to atests
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file robotframework_implicitcontext-0.1.1.tar.gz.
File metadata
- Download URL: robotframework_implicitcontext-0.1.1.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.15.0-1033-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0904b4c7d58fc5e2a7dad860b9bdcb3cc4c0c3f15f7ec6bd8f605b5d30a5a22e
|
|
| MD5 |
9c27612aa809aeb7ec24a08c77e27126
|
|
| BLAKE2b-256 |
f58982f3bcf07692a931d34afbfb818c58091927712be31bb039714b874e48ce
|
File details
Details for the file robotframework_implicitcontext-0.1.1-py3-none-any.whl.
File metadata
- Download URL: robotframework_implicitcontext-0.1.1-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.15.0-1033-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4510a7cc33c9c0109f5abd1e7b70ed7f7be7ec117886c2daf27c50158c741961
|
|
| MD5 |
1b8d719ab87d41de2fe78d6e0e6c05a1
|
|
| BLAKE2b-256 |
ef07e79797c2185464822f8c5ba3213689f4dbcbdc811d3ff2df6065dd0638e5
|