This repository was archived by the owner on Nov 17, 2022. It is now read-only.
Centralise fixtures under iati/tests/fixtures/
#289
Labels
enhancement
Some sort of new functionality (rather than fixing or tweaking something that already existed).
repo-management
Changes relating to management of the repository.
At the moment test fixtures are spread around a number of different test files. This makes them hard to use for multiple purposes - for example, using a fixture that returns an XML string to test both the
data
andvalidator
modules.As part of #280, fixtures returning version numbers were centralised in a common location (
iati/tests/fixtures/
) that can be used across all the test files. This sort of approach should be used for fixtures of all types to make the code clearer, more powerful, and easier to maintain.The text was updated successfully, but these errors were encountered: