Any YAML based fixture loader for Java? [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this questionI'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 us开发者_如何学Ced with any Java project?
You may be interested in my project, Fixy, which creates fixtures and loads them into a JPA context for querying. It supports includes, package declaration, and processors. It's very similar to Play's fixture mechanism.
Fixjures: https://code.google.com/archive/p/fixjures/
2.0-rc1 includes YAML support. The library supports POJOs and interface proxies.
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.
精彩评论