agama/service/test/integration
Martin Vidner 0a51af1258 chore: quick fix of integration test
invalid profile now returns an error exit code, as fixed in #3304
2026-03-27 08:57:54 +01:00
..
profile_itest.rb chore: quick fix of integration test 2026-03-27 08:57:54 +01:00
README.md docs: agama profile evaluate can pipe into profile validate now 2025-04-08 15:21:21 +02:00

Service Integration Tests

These tests need the Agama services running, both the Ruby part (service/) and the Rust part (rust/).

They are written with RSpec because it was convenient.

To not get run together with the *_test.rb unit tests, these are named *_itest.rb

Running

We run this via .github/workflows/ci-integration-tests.yml, or like this

(cd service; bundle exec rspec --pattern 'test/integration/**_itest.rb')

Safety and security: will this delete data and/or unset root password on your machine? We hope not but we do run the tests in a testing container to isolate mistakes.

Other Integration Tests

See also https://github.com/agama-project/integration-tests which exercises also the web UI.