Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a list of countries with helpful characteristics to test #15454

Open
octopusinvitro opened this issue Sep 2, 2016 · 0 comments
Open

Make a list of countries with helpful characteristics to test #15454

octopusinvitro opened this issue Sep 2, 2016 · 0 comments

Comments

@octopusinvitro
Copy link
Contributor

Problem

Some fixtures contain countries that have a characteristic that is useful to use in tests, but that is already on a country from another fixture. We have repetition that can lead to having the entire EP-data as fixtures for tests.

For example, Australia and the US both have two legislatures. But if we already have fixtures for Australia and we want a test that requires a country with two legislatures, we shouldn't have to add new fixtures for the US.

Proposed Solution

Make a list of countries with their useful characteristics that we can use for tests and keep it in an easily accessible place.

Example of such list:

- use Narnia for testing that the country contains at least one White Witch
- use Flatland for testing legislatures were all politicians are pentagonal

This may also help reduce the number of fixtures if we figure out that we have some countries that fulfil both having one White Witch and a legislature with pentagonal politicians.

Acceptance Criteria

We know which country to use to test a specific feature so that we don't load new fixtures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant