- December 31, 2018
- Posted by: Vikas Patel
- Category: Testing
There are lots of testing frameworks available for Test-driven development (TDD). Most of them are of xUnit family. Recently I had gone through three most popular testing frameworks for ColdFusion.
After using all three, I decided to post a comparison of them. Information may be inaccurate, Corrections are always acceptable.
|Based on XUnit & JUnit||Yes||Yes||Yes|
|Eclipse Plug-in||Removed in final cfeclipse release||No||Yes|
|Eclipse Ant integration using jar||Yes||Yes||Yes|
|Supported Output format||HTML||HTML, XML||HTML,XML,JUnit Report XML, CF query, CF Array|
|Easy to see your data with cfoutput, cfdump, and debug(), also cfcatch to view data||No||No||Yes|
|Testing private methods||Yes||–||Yes|
|Support for setUp() and tearDown() functions||Yes||Yes||Yes|
|beforeTests() and afterTests() functions||No||No||Yes|
|Help and tutorials availability||Few||Few||Enough|
|Assertion||Only Standard Assertions||More than 30 Built-in assertion||There are around 10 built-in assertions|
I personally like MXUnit for its eclipse Plug-in and better UI.