mirror of
https://github.com/joleuger/vuinputd.git
synced 2026-07-18 00:45:07 +00:00
Add infrastructure to add integration tests with podman
This commit is contained in:
parent
a1667bf4ba
commit
3283aa0dc2
10 changed files with 294 additions and 57 deletions
|
|
@ -2,12 +2,25 @@
|
|||
|
||||
## Integration tests
|
||||
|
||||
### With bubblewrap
|
||||
|
||||
Install bubblewrap:
|
||||
`apt-get install bubblewrap`.
|
||||
|
||||
Run with `cargo test -p vuinputd-tests --features "requires-privileges requires-uinput requires-bwrap"`.
|
||||
|
||||
### With podman
|
||||
|
||||
Install podman:
|
||||
`apt-get install podman`.
|
||||
|
||||
Create test container for podman
|
||||
```
|
||||
cargo build -p vuinputd-tests
|
||||
podman build -t vuinputd-tests -f vuinputd-tests/podman/Containerfile .
|
||||
```
|
||||
|
||||
Run with `cargo test -p vuinputd-tests --features "requires-privileges requires-uinput requires-podman"`.
|
||||
|
||||
## Performance tests
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue