[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 14:33:59 +0000

Is there a better way to test and validate XML output from the Java bindings 
without actually running the tests from BrailleBlaster? I think we are open to 
better ideas if there are any.

Keith


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
Sent: Tuesday, July 15, 2014 10:22 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: New test framework for liblouisutdml Java 
bindings

There have ben strong objections in the past to using a DSL (Domain Specific 
Language) in the liblouis and liblouisutdml projects.

John

On Tue, Jul 15, 2014 at 02:58:56PM +0100, Michael Whapples wrote:
> OK, so it is more that it is a more compact way of writing the data 
> than any functional difference.
> 
> I know that in liblouis the test harness uses json, which also is compact.
> 
> Michael Whapples
> On 15/07/2014 14:06, Christian Egli wrote:
> >On 07/15/2014 02:42 PM, Michael Whapples (Redacted sender 
> >mwhapples@xxxxxxx for DMARC) wrote:
> >
> >>>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
> >>>
> >>I have taken a look at that. Not really sure what it gives over the 
> >>approach I have taken. You would still need to explain where 
> >>relative file paths are resolved relative to, the structure of the file, 
> >>etc.
> >>Please give more detail how it simplifies things?
> >
> >I thought the approach with Clojure offered a very succinct way to 
> >express the tests and I liked that much more than writing tests as 
> >XML files. It's just an idea, you probably don't want to bring in 
> >Clojure into the picture. OTOH it integrates very tightly with Java 
> >and allows for expressing the tests using a powerful DSL.
> >Might be worth a try. But this is starting to get OT.
> >
> >Thanks
> >Christian
> >
> 
> For a description of the software, to download it and links to project 
> pages go to http://www.abilitiessoft.com

--
John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

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: