I'm currently looking at using Codeception to test WordPress plugins. I've got most things set up how I'd like, but there's one final step that doesn't feel right. Because the tests will be distributed, and I want anyone to be able to run them on an install of their choosing some of the "config" for the tests needs to be easily changeable.
So - I need the real config to not be stored in version control. For site URL that's straightforward, I can not distribute the acceptance.suite.yml and instead distribute a sample file that the user can copy to acceptance.suite.yml and customise as appropriate.
However - my tests also need some other config that I'd want to be outside of version control. Ideally I'd add this config to the same YML file, but I need to be able to access it from the tests, e.g.
acceptance.suite.yml:
class_name: WebGuy
modules: