开发者

Any YAML based fixture loader for Java? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

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 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜