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

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 15 Jul 2014 14:24:06 +0200

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

Other related posts: