[liblouis-liblouisxml] Re: New test framework for liblouisutdml Java bindings

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jul 2014 12:43:31 +0000

The problem with the current test framework is that it is simple if all one 
wishes to do is compare  text files. I also have not found it to be that easy 
to use or setup. My first attempt never succeeded and it is difficult to know 
why. There is little or no documentation.

Please consider documentation so that one can reasonably use it without having 
been the programmer who developed it. I'm not opposed to using it but we need 
to validate XML output.

Thanks.

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Christian Egli
Sent: Tuesday, July 15, 2014 8:24 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: New test framework for liblouisutdml Java 
bindings

Hi

On 07/15/2014 12:09 PM, Michael Whapples (Redacted sender mwhapples@xxxxxxx for 
DMARC) wrote:
> and also that file2brl is essentially a unix only tool (it cannot be 
> built with defacto compilers on Windows, IE. MSVC), thus the old test 
> framework does not meet with the goal of LibLouisUTDML being 
> cross-platform.

You've said this in the past and it is still false. The existing test framework 
is deliberately simple as to not to depend on too many things. 
It is just as cross-platform as liblouisutdml itself.

> * The translateFile tests are defined in the file 
> testdata/translateFileTests.xml. The root element of this file is 
> tests and it can contain translateFileTest elements....

The whole thing sounds very complicated. If there is one thing that I learned 
over the years then its the saying that simplicity always trumps complexity.

I wrote a very simple, proof-of-concept test harness for liblouis a while ago, 
using the Java bindings and Clojure. Maybe some ideas could be stolen from 
there: https://github.com/egli/louis-clj

Hope that helps
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 
12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: