开发者

jUnit 4 DirectorySuiteBuilder Equivalent

开发者 https://www.devze.com 2023-01-05 17:16 出处:网络
I\'d like to know if there is something similar to junit-addons DirectorySuiteBuilder (documentation) that works with jUnit 4.Simply stated, I want to load every file name *Test.java in a directory an

I'd like to know if there is something similar to junit-addons DirectorySuiteBuilder (documentation) that works with jUnit 4. Simply stated, I want to load every file name *Test.java in a directory and build a suite out of them.

I realize that I can build a suite that runs every test in a directory using ant, but I would pre开发者_StackOverflow中文版fer to not go that route so that I can run the tests with eclipse's native jUnit plugin.


Sure enough, al nik. I don't know why I didn't think of that.

0

精彩评论

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