Re: [ALL] Is there a doc linking epubTest file name with test description?

20 views
Skip to first unread message

Ric Wright

unread,
Jun 6, 2014, 11:08:12 AM6/6/14
to Becky Gibson, readi...@googlegroups.com, epub-testsu...@googlegroups.com
+epub-testsuite-discuss 

I don’t think there is a formal one outside the HTML backbone (attached).  It’s not exactly what you want (format-wise) I think, could easily be stripped down/reformatted to serve.

Ric


From: Becky Gibson <gibson...@gmail.com>
Date: Friday, June 6, 2014 at 10:00 AM
To: Readium Dev <readi...@googlegroups.com>
Subject: [ALL] Is there a doc linking epubTest file name with test description?

I looked for a document that links the epubTest file name/number with the type of tests that are covered.  I didn't find one and will gladly create it - I just wanted to make sure one didn't already exist and I just missed it.

thanks,
-becky

--
You received this message because you are subscribed to the Google Groups "readium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to readium-dev...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
epub-testsuite-20140415.xhtml

Marisa DeMeglio

unread,
Jun 6, 2014, 4:04:57 PM6/6/14
to Ric Wright, Becky Gibson, readi...@googlegroups.com, epub-testsu...@googlegroups.com
Hi Ric,

There isn’t any sort of master index that gives this sort of info. I agree, it would be useful. If you look at any evaluation on epubtest.org (e.g. http://epubtest.org/rs/1/), you’ll see something like:

"EPUBTEST 0100 - Reflowable Content Tests” 

for certain subcategory headings. This will at least tell you the book number and test types. But it’s not its own list - it’s mixed in with all the tests and evaluation data.

Marisa

<epub-testsuite-20140415.xhtml>

Ric Wright

unread,
Jun 9, 2014, 12:06:55 PM6/9/14
to Becky Gibson, readi...@googlegroups.com, epub-testsu...@googlegroups.com
Becky,

Thanks for doing this.  Very useful.

I think the epub-test-suite-date.xhtml file is now a relic of how it used to be done.  

Marisa, please correct me if I am wrong.

The downside of that is that it won’t be updated (and/or is already out-of-date).

Ric


From: Becky Gibson <gibson...@gmail.com>
Date: Monday, June 9, 2014 at 10:48 AM
To: Readium Dev <readi...@googlegroups.com>
Cc: Ric Wright <rkwr...@geofx.com>, <gibson...@gmail.com>, <epub-testsu...@googlegroups.com>
Subject: Re: [ALL] Is there a doc linking epubTest file name with test description?

I have created a script and style sheet that will modify the epub-testsuite-<date>.xhtml file that Ric posted.  I basically collapse all of the tables of individual test listings so you can see just the epub test file name and the basic description.   You can use the keyboard or mouse to expand the section and see all of the details if you want.   

Download epub-testsuite-<date>.xhtml and add the following two lines in blue:

<title>EPUB Reading System Test Suite version 20140415</title>
        <link rel="stylesheet" type="text/css" href="http://idpf.org/epub/css/epub-spec.css"/>
        <script type="text/javascript" src="http://code.jquery.com/jquery.min.js"/>
        <script type="text/javascript" src="./makeCollapsible.js"/>
        <link rel="stylesheet" type="text/css" href="./makeCollapsible.css"/>
        <script type="text/javascript">$(document).ready(function() {...........

I have attached the two makeCollapsible.* files.  This does rely on the jQuery $(window).load()  to run after the $(document).ready in the main .xhml file. I tested on Safari and Chrome on the Mac.  You mileage may vary.

Unless the structure of the epub-testsuite-<date>.xhtml file changes, this script should continue to work.  However, I couldn't find the location of epub-testsuite-<date>.xhtml on epubtest.org.  I assume you have to create a login and start the evaluate process to access this file?

-becky
Reply all
Reply to author
Forward
0 new messages