Skip to content

Ben Parker: Testing times with Scala : A TDD journey using anti-xml

Photo of Andy Hicks
Hosted By
Andy H.
Ben Parker: Testing times with Scala : A TDD journey using anti-xml

Details

IMPORTANT Sign up at skillsmatter:

http://skillsmatter.com/event/scala/lsug-tdd-scala

http://photos2.meetupstatic.com/photos/event/4/1/0/2/event_93856642.jpeg

A client asked me to convert one XML format to another. I was relegated to Java during the day and as I was missing my lovely lightweight TDD Scala coding, I didnt even consider XSLT. I simply added anti-xml to my sbt build and got stuck in.

This talk is the journey I went through over 3 days test-driving this work using Specs2. In particular I will focus on how I went about testing and the issues I faced in asserting the expected xml.

I will also talk about what I might do differently now, given a little more time, and suggest additions to the anti-xml library to have made my job even easier.

We will, as always, also be heading to the Slaughtered Lamb (http://www.theslaughteredlambpub.com/) pub afterwards.

**IMPORTANT READ ME TO REGISTER **

Skills Matter are hosting this event and are handling the attendance it is essential that you confirm your place at this link:

http://skillsmatter.com/event/scala/lsug-tdd-scala

failure to do so may result in not obtaining a seat. Please register on the Meetup.com "I'm going" to only let the others in the group know your going.

If this is your first time to SkillsMatter, directions are: http://skillsmatter.com/go/find-us

Photo of London Scala User Group group
London Scala User Group
See more events
The Skills Matter eXchange
116-120 Goswell Road, EC1V 7DP · London