Brecht writes:

> * A large number of tests test functionality that is not in the CSL spec,
> but is provided by citeproc-js (raw dates, static ordering, literal names,
> ...). I think these should be indicated as such, or perhaps moved to a
> separate directory. This would make it easier to check the other CSL
> processor's compatibility.

***

Rintze responds:

Sylvester Keil proposed using a Cucumber format for unit tests, which
would allow tests to be tagged:
https://github.com/inukshuk/citeproc-ruby/blob/1c420de0f7a86b7c35782dee86ce62cbebb47ab9/features/condition/is_numeric.feature

If somebody else helps with the technical infrastructure, I'd be happy
to help reclassifying the existing unit tests.

***

I've moved quite a few citeproc-js-specific tests out of the archive,
but I've obviously not caught them all: I'll fix up the tests with
numeric page and page-first. If there are others that don't belong
there, please call attention to them, and I'll pull them out.

The suite does need attention. It would be really good to recast the
tests in a more manageable form, and Cucumber seems to be the best
candidate going. We may be able to automate the conversion, but the
tests should really be individually reviewed, commented, tagged and
stripped down to their essentials. It will be a lot of work.

Streamlined editing processes would be very helpful to the cause. I'm
out of my league there, but I would be happy to test things. I'm not
sure if it's relevant, but this might be interesting for
infrastructure:

    https://github.com/tauberer/jot

(Note that Josh hasn't yet decided on a licence, but I suspect he
would be sympathetic if someone were to turn the code to CSL
purposes.)

Frank

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to