Debian Codegraph @

tests/integration/README.md

raw
1 # Pyspnego Integration Tests
2
3 This directory contains files that cna be used for more complex integration tests that aren't easily covered in CI.
4
5 It current achieves this by creating a bunch of virtual machines using Vagrant, configuring those hosts using Ansible
6 then running the tests on the various hosts using Ansible.
7
8 To run these tests run the following:
9
10 ```bash
11 # Setup the virtual machine in either Libvirt or VirtualBox
12 vagrant up
13
14 # Configure the virtual machines and get them ready for the tests
15 ansible-playbook main.yml -vv
16
17 # Run the tests
18 ansible-playbook tests.yml -vv
19 ```
20
21 Before running `main.yml`, download the `artifact` zip from the GitHub Actions workflow to test.
22 This zip should be placed in the same directory as the playbook as `artifact.zip`.
23
24 The following tags are set for `main.yml`
25
26 * `template`: Re-template the test files to the test hosts
27
28 The following tags are set for `tests.yaml`
29
30 * `linux`: Run the tests on the Linux hosts only
31 * `windows`: Run the tests on the Windows hosts only