开发者

ColdFusion unit test frameworks

As a related sub-question - are there any CF unit test frameworks that support or make it easier to use mocks/stubs?

The 2 that I spotted in a qu开发者_JS百科ick google that look the most promising are MXUnit and CFUnit. Are there others, and which one(s) have the widest adoption and active development? Enough questions crammed into one?

Basically I want to make a good choice.

edit Note that at the time of writing the question originally, MXUnit was the go-to and TestBox wouldn't be on github for a few years yet. See comments on the accepted answer.


Pretty sure that the only CF unit test framework still in active development is MXUnit.

Check out MockBox (also in active development) for support in using mocks/stubs.
http://wiki.coldbox.org/wiki/MockBox.cfm

Edit: Be sure to follow the MXUnit google group. http://groups.google.com/group/mxunit/topics


TestBox is a new xUnit and BDD style framework that is compatible with MXUnit and comes with MockBox which is a full mocking and stubbing library. Both of these are actively developed and professionally supported by Ortus Solutions.

https://testbox.ortusbooks.com/introduction/installing-testbox

https://testbox.ortusbooks.com/mocking/mockbox/installing-mockbox


Don't forget http://github.com/bobsilverberg/CFSelenium

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜