Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Configuration Examples

This folder contains configuration examples for Beku.

Test Suites

Test suites are an optional property of the test-definition.yaml file. If no test suite is explicitly defined, a default test suite is generated that selects all test definitons without patching any dimensions.

The folder suites contains an example on how to configure test suites.

The file suites/test/test-definition.yaml shows example configurations for two test suites:

suites:
- name: latest # this suite will set all dimension values to the latest (last) value
  patch:
  - dimensions:
    - expr: last
- name: smoke # this suite will only select the smoke tests
  select:
  - smoke

The latest suite will execute all tests only with the latest versions of each dimension. The smoke suite will expand only the smoke tests and ignore all others.

To select which suite to expand, use the --suite command line argument. For example:

cd examples/suites
rm -rf tests/_work
beku --suite latest

will generate the test cases for the latest suite.