Skip to content

wesovilabs/orion-examples

Repository files navigation

Examples

A full and growing list of examples can be download from here. Additionally, you could clone the repository with all the examples.

git clone git@github.com:wesovilabs/orion-examples.git

Please feel free to create a Pull Request with new examples

Preconditions

Orion must be installed in your computes. Visti the documentation

Examples

Sections: given, when, then

  • example001: It's a basic scenario with sections given, when and then.
orion-cli run --input example001/feature.hcl
  • example002: Scenario with multiple when, then sections.
orion-cli run --input example002/feature.hcl
orion-cli run --input example003/feature.hcl
  • example004: The feature contains multiple scenarios
orion-cli run --input example004/feature.hcl

Input variables

orion-cli run --input feature-vars/feature001.hcl
orion-cli run --input feature-vars/feature001.hcl --vars feature-vars/variables001.hcl
orion-cli run --input feature-vars/feature002.hcl
orion-cli run --input feature-vars/feature003.hcl
orion-cli run --input feature-vars/feature004.hcl

Scenarios with functions

orion-cli run --input scenario-functions/feature001.hcl

Scenarios with examples

orion-cli run --input scenario-examples/feature001.hcl

Usage of hooks

orion-cli run --input hooks/feature001.hcl
orion-cli run --input hooks/feature002.hcl

Importing content from other files

orion-cli run --input includes/feature001.hcl

Execution continue when scenario fails

orion-cli run --input ignore_errors/feature001.hcl

All the examples in the site can be found here

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages