ERDDAP is a scientific data server that gives users a simple, consistent way to download subsets of gridded and tabular scientific datasets in common file formats and make graphs and maps. ERDDAP is a Free and Open Source (Apache and Apache-like) Java Servlet from NOAA NMFS SWFSC Environmental Research Division (ERD).
Creative Commons Zero v1.0 Universal
76
stars
54
forks
source link
Migrate some failing tests to JUnit and fix (most of) them #125
Migrates some of the failing tests (when running testAll) to JUnit and fixes ones failing due to problems like missing files. Some failures are because tests have external dependencies (thredds, AWS), require passwords, or require a local ERDDAP to be running. Those are tagged with the specific reason for their current failure and do not run by default when running mvn test.
Type of change
[x] Bug fix (non-breaking change which fixes an issue)
Checklist before requesting a review
[x] I have performed a self-review of my code
[x] My code follows the style guidelines of this project
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
Description
Migrates some of the failing tests (when running testAll) to JUnit and fixes ones failing due to problems like missing files. Some failures are because tests have external dependencies (thredds, AWS), require passwords, or require a local ERDDAP to be running. Those are tagged with the specific reason for their current failure and do not run by default when running
mvn test
.Type of change
Checklist before requesting a review