From 2916caf34bee5a5fe08a892375139a9de75e503b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= Date: Tue, 14 Apr 2020 15:07:30 +0200 Subject: [PATCH] Provide way to run it Document way to run it on local machine. Avoid it by default, because it might destroy local configuration. --- README.md | 11 +++++++++++ Sanity/basic.fmf | 3 +++ 2 files changed, 14 insertions(+) diff --git a/README.md b/README.md index 370b093..d8597e7 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,14 @@ Basic metadata are in [fmf](https://fmf.readthedocs.io/en/latest/overview.html), tests are written in [beakerlib](https://github.com/beakerlib/beakerlib). Use `fmf show` tool to filter current tests. + +## Test run + +Could be tested by commands: + + dnf install -y tmt podman + tmt run + +To test in on local machine, run: + + tmt run --all provision -h local diff --git a/Sanity/basic.fmf b/Sanity/basic.fmf index d9ce621..1b6429e 100644 --- a/Sanity/basic.fmf +++ b/Sanity/basic.fmf @@ -2,5 +2,8 @@ summary: Basic smoke test discover: how: fmf +provision: + how: container + image: fedora:latest execute: how: beakerlib