Code Monkey home page Code Monkey logo

test-clojure-xml's Introduction

test clojure.xml

A hand-full of recent tickets describe some problems with the clojure.xml namespace:

  • 408 clojure.xml emit does not properly escape attribute and element content.
  • 410 clojure.xml parse/emit do not round-trip
  • 411 clojure.xml/emit should be encoding-aware

In attempting to fix these problems, I discovered that it's not actually possible to unit test clojure.xml from within the clojure's own build:

  • 409 SAXParserFactoryImpl is missing at unit testing time

This project exists to work around #409, allowing me to test clojure.xml from the "outside". The unit tests defined here demonstrate #408 and #410.

Testing clojure.xml

This project uses Maven for its build:

$ mvn test

This will run the tests against clojure.jar 1.2-beta1, as defined in the POM. You may override this default to use a locally built clojure.jar:

$ mvn test -Dclojure.jar=/absolute/path/to/clojure.jar

test-clojure-xml's People

Contributors

bpsm avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.