-
Notifications
You must be signed in to change notification settings - Fork 70
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
Develop approach to run PROJ.4 unit tests #9
Comments
Would be improvement if could just a run a version of proj4js tests. |
So basically a port of https://github.com/OSGeo/PROJ/blob/master/src/apps/gie.cpp , or rather a (pre)processor that converts the GIE test files into JUnit tests ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It would be great to be able to run all or most of the PROJ.4 unit tests against Proj4J.
It appears that the current testing framework for PROJ.4 uses a custom utility called GIE. This reads a custom format originating in a test utility called GIGS. There are a LOT of unit tests.
Possible approaches:
Port the unit tests to a format which Proj4J can run. This should be a declarative format, for maximum usabliy and ease of maintenance. The current MetaCRS CSV format is too hard to work with IMHO - a better format should be devised. This will also require a transpiler from the GIE format to the Proj4J format.
Develop a test runner that can handle the GIGS/GIE format directly. Hopefully this won't be too hard. The advantage here is that it will be easier to keep the tests in synch with PROJ.4
Note that it is very likely that not all PROJ4 tests will run in Proj4J, due to differences in supported functionality. There will need to be a way to indicate which tests should not be run (or transpiled)
The text was updated successfully, but these errors were encountered: