hamjest-dom-matchers

1.0.1 • Public • Published

hamjest-dom-matchers

Matchers for use with Hamjest and DOM trees.

Why?

Because Hamjest provides a great framework for writing customer matchers in Javacript that leaves tests clean, readable and maintainable over time.

Dealing with XML is annoying but if you have to to do it, being able to TDD tests quickly is a must. By no means extensive, the matchers so far facilitated TDD'ing tests for a SOAP based project that used xmldom and xpath to parse and extract data.

See the tests for examples of how to use the Matchers.

Usage

$ npm install hamjest-dom-matchers --save-dev

Readme

Keywords

Package Sidebar

Install

npm i hamjest-dom-matchers

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.3 kB

Total Files

3

Last publish

Collaborators

  • kierans777