Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

robotframework_implicitcontext-0.1.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

File details

Details for the file robotframework_implicitcontext-0.1.1.tar.gz.

File metadata

File hashes

Hashes for robotframework_implicitcontext-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0904b4c7d58fc5e2a7dad860b9bdcb3cc4c0c3f15f7ec6bd8f605b5d30a5a22e
MD5 9c27612aa809aeb7ec24a08c77e27126
BLAKE2b-256 f58982f3bcf07692a931d34afbfb818c58091927712be31bb039714b874e48ce

See more details on using hashes here.

File details

Details for the file robotframework_implicitcontext-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for robotframework_implicitcontext-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4510a7cc33c9c0109f5abd1e7b70ed7f7be7ec117886c2daf27c50158c741961
MD5 1b8d719ab87d41de2fe78d6e0e6c05a1
BLAKE2b-256 ef07e79797c2185464822f8c5ba3213689f4dbcbdc811d3ff2df6065dd0638e5

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