The purpose of the smoke test here is twofold: one is to determine whether the application is ready for more in-depth testing and secondly, to verify whether processing should not have been affected by the changes to the new build.
-
Instructions to install CasperJS and PhantomJS can be found here
-
Clone project by running
clone https://github.com/shaligramk/smoke_test.git
-
Setup file structure locally: In your root directory, add the sample PDF and IDML files and cover images in addition to the smoke tests.
-
Download the latest version of the ePub Check .jar file to the root directory from [here] (https://github.com/IDPF/epubcheck/releases)
-
Variables: a. Change URL for each build b. Enter Credentials c. Verify paths for fileName and coverImage are congruent.
-
In the Terminal: Navigate to the root directory. Type
casperjs test <filename> --verbose --xunit=log.xml
Processing-Smoke Test is released under the MIT License.