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

API version check in JUnit test is too strict #26

Open
egueli opened this issue Jul 10, 2016 · 0 comments
Open

API version check in JUnit test is too strict #26

egueli opened this issue Jul 10, 2016 · 0 comments

Comments

@egueli
Copy link
Owner

egueli commented Jul 10, 2016

The Junit test TraCIServerTest.testGetVersionHighLevel() checks that the API version reported by SUMO is exactly equal to the constant API_VERSION, and fails if the machine that runs the test has a different version of SUMO.
testGetVersionHighLevel should only test for a minimum API version that ensures that the basic message exchange still works. Breaking changes in higher level APIs, e.g. properties of TraCI objects, should be detected by JUnit tests.

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

Successfully merging a pull request may close this issue.

1 participant