Can Factory Jsoup HTML parser library

 In Development, Technical

Can Factory have recently open sourced a Java library we use internally for testing HTML.

This library provides a simple “fluent” style API over the popular Jsoup HTML parser combined with custom Hamcrest matchers to make unit tests simpler.

We have kept the dependencies minimal so it’s quick and easy to use within unit tests. In addition, it would also work well as a general HTML parser, for example as a screen scraper.

We have updated many of our unit tests to use this new library. This is now available for download at Github under the Apache 2 licence.

Start typing and press Enter to search