15 Star 6 Fork 5

openEuler / tp-libvirt

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.rst

Libvirt test provider for virt-test

This is the official test provider [1] for the following subtest types:

  • Libvirt
  • LVSB
  • V2V
  • Libguestfs

Really quick start guide

  1. Fork this repo on github

  2. Create a new topic branch for your work

  3. Create a new test provider file in your virt test repo, like:

    cp io-github-autotest-libvirt.ini myprovider.ini
    
    [provider]
    uri: file:///home/foo/Code/tp-libvirt
    [libvirt]
    subdir: libvirt/
    [libguestfs]
    subdir: libguestfs/
    [lvsb]
    subdir: lvsb/
    [v2v]
    subdir: v2v/
    

    You can optionally delete temporarily the io-github-autotest-qemu.ini file, just so you don't have test conflicts. Then you can develop your new test code, run it using virt test, and commit your changes.

  4. Make sure you have inspektor installed.

  5. Run:

    inspekt checkall --disable-style E501,E265,W601,E402,E722,E741 --no-license-check <test_script_name>.py
    
  6. Ensure <https://github.com/autotest/tp-libvirt/blob/master/tp-libvirt_review_comment_summary.rst> are met

  7. Fix any problems

  8. Push your changes and submit a pull request

  9. That's it.

[1] You can always create your own test provider, if you have special purposes, or just want to develop your work independently.

About

Libvirt test provider for virtualization test. It contains a lot of test cases related to such as libvirt/libguestfs. spread retract
Cancel

Releases

No release

Contributors

All

Activities

load more
can not load any more
1
https://git.oschina.net/openeuler/tp-libvirt.git
git@git.oschina.net:openeuler/tp-libvirt.git
openeuler
tp-libvirt
tp-libvirt
master

Search