views:

149

answers:

2

I've used DbUnit but after playing about with the Play Framework recently I've found it's Fixtures.load(String yamlFilename) really useful. Anyone know of a similar tool that can be used with any Java project?

+1  A: 

Typical, I found the answer immediately after posting the question. Looks like JYaml is what I'm after. The first time I seen this tool I just glanced at YAML4DbUnit and thought it was just an extension to DbUnit.

Adrian
Actually I ditched JYaml in the end in and went with SnakeYAML. No particular reason. I just felt more comfortable with it since JYaml hadn't had a release since 2007.
Adrian
+1  A: 

Fixjures: http://fixjures.googlecode.com/

2.0-rc1 includes YAML support. The library supports POJOs and interface proxies.

Steve Reed
Looks interesting. Thanks Steve.
Adrian