Work in Progress – a.k.a. Don’t Write a Library

I’m at it again.

I thought I’d noodle with an idea I had to build on some simple JSON assertions that I created in a previous contract. My aim is actually much grander. I want to be able to create assertions for other DOMs in a way that’s similar to AssertJ (which is excellent), but also interoperable with other libraries that use a matcher style of comparison/assertion.

What I hoped to be able to do was rattle off a quick path-based assertion library, then a more customisable version of JSONAssert – much as I’d done before, and then move onto an HTML DOM Assert, based on jsoup.

Though I’ve only been playing with this in my spare time, the permutational explosion of making something useful is somewhat laborious, but I’ve reached a point where I don’t mind the source code being visible. I’m not releasing to maven central until I’ve got a little further down the road.

If you’re interested, take a look.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s