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

encapsulation of data in tests #1

Open
changtung opened this issue Sep 11, 2017 · 1 comment
Open

encapsulation of data in tests #1

changtung opened this issue Sep 11, 2017 · 1 comment

Comments

@changtung
Copy link
Member

I am writing tests and in for example MapsTest there is an test with 2 - Nebraska Avenue
That mean that we are using gtfs data from Atlanta database.
My current database is my local and not Nebraska and the question is:
Is it needed to separate data from tests and not test data-specific things or another option to set and state that we are using atlanta database and we are testing on this data.
How it should be done ?

@scrudden
Copy link
Member

I think we should separate the tests from the data used. The tests should be location independent.

So we will need to remove the reference to "Nebraska Avenue".

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

2 participants