Skip to content

Commit d0c9c0a

Browse files
authored
Merge pull request #1357 from henrywang/test_readme
test: Add README.md in tmt folder for integration test local running
2 parents 9493f2c + 15ea729 commit d0c9c0a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tmt/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Run integration test locally
2+
3+
In the bootc CI, integration tests are executed via Packit on the Testing Farm. In addition, the integration tests can also be run locally on a developer's machine, which is especially valuable for debugging purposes.
4+
5+
To run integration tests locally, you need to [install tmt](https://tmt.readthedocs.io/en/stable/guide.html#the-first-steps) and `provision-virtual` plugin in this case. Be ready with `dnf install -y tmt+provision-virtual`. Then, use `tmt run -vvvvv plans -n integration` command to run the all integration tests.
6+
7+
To run integration tests on different distros, just change `image: fedora-rawhide` in https://github.com/bootc-dev/bootc/blob/9d15eedea0d54a4dbc15d267dbdb055817336254/tmt/plans/integration.fmf#L6.
8+
9+
The available images value can be found from https://tmt.readthedocs.io/en/stable/plugins/provision.html#images.
10+
11+
Enjoy integration test local running!

0 commit comments

Comments
 (0)