File: README.md

package info (click to toggle)
python-pyspnego 0.10.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,648 kB
  • sloc: python: 16,191; sh: 182; makefile: 11
file content (31 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Pyspnego Integration Tests

This directory contains files that cna be used for more complex integration tests that aren't easily covered in CI.

It current achieves this by creating a bunch of virtual machines using Vagrant, configuring those hosts using Ansible
then running the tests on the various hosts using Ansible.

To run these tests run the following:

```bash
# Setup the virtual machine in either Libvirt or VirtualBox
vagrant up

# Configure the virtual machines and get them ready for the tests
ansible-playbook main.yml -vv

# Run the tests
ansible-playbook tests.yml -vv
```

Before running `main.yml`, download the `artifact` zip from the GitHub Actions workflow to test.
This zip should be placed in the same directory as the playbook as `artifact.zip`.

The following tags are set for `main.yml`

* `template`: Re-template the test files to the test hosts

The following tags are set for `tests.yaml`

* `linux`: Run the tests on the Linux hosts only
* `windows`: Run the tests on the Windows hosts only