As we integrate more and more use cases into the integration tests, it's clear that the current way of handling the information to the test runner (via the environment variables) does not scale up well.
For complex tests that require manually pre-set machines with specific configuration (such as AD with or without POSIX support, legacy clients, etc.), we need to specify much more information than just the 'role' of the machine and it's IP address.
The current situation makes extending the framework a mess and absolutely will not be maintainable in the long run. Refactor the ipatests configuration to use configuration files instead of environment variables.
Doesn't using YAML add a new dependency to freeipa-tests package? Why not use JSON or something else that's in Python's standard library?
YAML is easy for humans to read/write, much more than JSON.
This is about adding an additional way to configure the tests; env vars will still be supported. So it's not a hard dependency. We might want to leave it out of Requires if necessary.
Moving unfinished November tickets to January.
master:
Leaving ticket open until I update the Wiki with new instructions.
ipa-3-3:
Instructions added to http://www.freeipa.org/page/Testing
Metadata Update from @tbabej: - Issue assigned to pviktori - Issue set to the milestone: FreeIPA 4.0 Backlog
Login to comment on this ticket.