Re: [epubcheck] naming and issues conventions

Thanks for the clarification Romain, then yes this sounds good, and I agree with Vincent that adding in a category at the beginning might be a good idea as well "strong prefix for categorizing files: OPF, CONTENT, NAV, CONTAINER…”


Thanks
EOM

Charles LaPierre
Technical Lead, DIAGRAM and Born Accessible
E-mail: charlesl@benetech.org<mailto:charlesl@benetech.org>
Twitter: @CLaPierreA11Y
Skype: charles_lapierre
Phone: 650-600-3301



On Jun 13, 2017, at 1:36 PM, Romain <rdeltour@gmail.com<mailto:rdeltour@gmail.com>> wrote:


On 13 Jun 2017, at 17:32, Charles LaPierre <charlesl@benetech.org<mailto:charlesl@benetech.org>> wrote:

For unit tests the convention is that every test must start with the word test in lowercase.  Some testing environments require this I believe.

This a convention for the test method names in the Java classes, indeed. What Tzviya suggested was about the test data (the actual EPUB files).

As far as I can see there should be a 1-1 mapping of test data to test methods, and it's easy to convert the naming convention from one to the other (e.g. from file name to Java name: add a test prefix and make it camel case).

Best,
Romain.

Received on Tuesday, 13 June 2017 21:23:03 UTC