You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.
A number of tests in APITests.cs interact with api06.dev.openstreetmap.org. This is an issue for a few reasons
The test API isn't really designed for unit tests. About half the changesets on it are now from osmsharp
The credentials used are hard-coded in the source code. Anyone could change the password
OAuth is not used, nor does it appear to be tested. OAuth should be the standard
Unit tests shouldn't interact with external services, particularly those outside the developers control. This makes the unit tests no longer a unit test, but a test of the external service as well. Instead, the external service should be mocked up
The text was updated successfully, but these errors were encountered:
pnorman
changed the title
Unit tests use live API
Unit tests use live API instance
Jul 13, 2015
pnorman
changed the title
Unit tests use live API instance
Unit tests use remote API instance
Jul 13, 2015
A number of tests in APITests.cs interact with api06.dev.openstreetmap.org. This is an issue for a few reasons
The text was updated successfully, but these errors were encountered: