It wasn't clear to me when I read this line:
If you have tests in config file call: /usr/bin/generator or simply generator.
Metadata Update from @jscotka: - Issue tagged with: Doc, Prio2
@ttomecek, please let me know if the line [1] can be corrected as following and solve this issue:
In the directory tests create a Makefile as below.
tests
Makefile
Mind to keep the generator line only if there are multiline Bash snippet tests in the tests/config.yaml file. The generator command will convert those multiline Bash snippet tests from the tests/config.yaml file into python tests and stores them in the generated.py file, which will be processed further by avocado.
generator
tests/config.yaml
generated.py
[1] https://pagure.io/modularity-testing-framework/blame/docs/user_guide/index.rst#20
The generator command will convert those multiline Bash snippet tests from the tests/config.yaml file into python tests and stores them in the generated.py file, which will be processed further by avocado.
I wish the documentation had this line.
Nicely written, Irina.
thanks @ttomecek , the fix commit was included in PR #75.
Metadata Update from @igulina: - Issue assigned to igulina
PR #75 with the fix commit was merged. Closing issue.
Metadata Update from @phracek: - Issue status updated to: Closed (was: Open)
Metadata Update from @igulina: - Issue close_status updated to: upstream