tmt hint 01

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

After the initial hint [1] describing the very first steps with
tmt let's have a look at the available test execution options.
The following user story was at the very beginning of tmt:

    As a tester or developer, I want to easily run tests
    in my preferred environment.

Do you want to safely run tests without breaking your laptop? Use
the default provision method 'virtual' which will execute tests
under a virtual machine using libvirt with the help of testcloud:

    tmt run

Would you like to execute tests a bit faster and don't need the
full virtualization support? Run them in a container using podman:

    tmt run --all provision --how container

Do you have an already prepared box where everything's ready for
testing and you often ssh to it to experiment safely?

    tmt run --all provision --how connect --guest my.test.box

Do you know exactly what the tests are doing and feel safe to
quickly run them directly on your localhost?

    tmt run -a provision -h local

Note that some provision methods require additional dependencies.
Installing them is easy as well:

    sudo dnf install -y tmt-provision-container
    sudo dnf install -y tmt-provision-virtual

See the tmt guide [2] and examples [3] for some more inspiration.

Happy testing! :-)

psss...

[1] https://communityblog.fedoraproject.org/tmt-hints-basic-test/
[2] https://tmt.readthedocs.io/en/latest/guide.html
[3] https://tmt.readthedocs.io/en/latest/examples.html
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux