A pilot test framework to retrieve and compare images from NASA API.
- Make sure to have the latest Java version installed. (Java 1.8 or above)
- Intellij IDEA
- Clone the project to your local machine (git clone https://github.com/ostepaniuk/NASAAPI.git)
- Open project in the compatible IDE
- Import required dependencies unless it has been done automatically by the IDE (dependencies are located in pom.xml file in the root of the project)
- Run all tests from Test > Java folder
- To run tests with different data by new time (Mars and/or Earth time), go to CompareImagesdataTest.java, search for line 24 or 26, change constants according to required format to retrieve different data:
SOLSfor mars time,DATEfor earth time - Tu run the CompareNumberOfPhotosTakenByCamerasTest test on different
SOLSdate andCAMERA_PHOTOS_LIMITto change the limit of photos taken by each camera
- If FileNotFoundException is thrown, then search the downloads directory for unsupported files e.g. Thumbs.db
- Writing tests
- Code review
- Other guidelines
Should you have any questions or seek further clarifications, please feel free to contact at stepaniukalex@gmail.com