tests: cleanup the basic structure of integration tests.

This commit is contained in:
Alexandre Pujol 2024-11-19 21:13:25 +00:00
parent 206bc3473d
commit 7b4e01217b
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
46 changed files with 50 additions and 502 deletions

View file

@ -5,48 +5,30 @@
load common
setup_file() {
aa_setup
}
# bats test_tags=flatpak
@test "flatpak: List installed applications, ignoring runtimes" {
flatpak list --app
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Install an application from a remote source" {
flatpak install --noninteractive org.vim.Vim
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Show information about an installed application" {
flatpak info org.vim.Vim
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Run an installed application" {
flatpak run org.vim.Vim
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Update all installed applications and runtimes" {
flatpak update --noninteractive
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Remove an installed application" {
flatpak remove --noninteractive org.vim.Vim
aa_check
}
# bats test_tags=flatpak
@test "flatpak: Remove all unused applications" {
flatpak remove --unused
aa_check
}