Closed ArneBinder closed 9 years ago
We have some basic JUnit tests in the repo. This will check if the data is actually added to the EPUB. You can use epubcheck to make sure that the resulting EPUB is actually valid. However, we haven't checked if we produce valid EPUB in all cases, so you might find some errors/warnings there, and also the epubcheck contains some bugs itself.
@ArneBinder I propose that you try the epubcheck library in the integration tests.
It depends on what you want to test of course. We can create a valid EPUB file without adding the data provided by the user ... so the tests will succeed but our service is useless of course ;)
Ok, thanks for the reply, I'll try to integrate epubcheck into a simple integretion test with the alice data (zip + metadata).
Hallo,
I'm currently implementing some integretion tests for Freme and would like to validate the epub response. Is there already some functionality I could use? Or do you recommend epubcheck?