Show/Hide Toolbars

Unit Test Framework Manual

Navigation: Overview of the Unit Test Framework

Unit Test Framework versus GUnit

Scroll Prev Top Next More

As noted before, Guidewire packages a JUnit-like framework called GUnit in Studio.  (See [GUID2011])  GUnit has a number of features and can be very useful in testing customizations.  

 

The Unit Test Framework has features that make it useful in addition to GUnit.

 

Unit Test Framework is simpler than GUnit.  It is easier to learn and use than GUnit.  The emphasis in the Unit Test Framework is to provide the minimal set of features to support JUnit style testing.

 

Unit Test Framework functions in any of the Guidewire environments with any of the supported database (Oracle, SQL Server, H2).  

 

Unit Test Framework tests can be executed outside of Studio.  They can be initiated from a command line or a scheduler like Jenkins.  This feature supports regression testing in shared quality assurance environments.  

Unit Test Framework is provided with all its source code, so you can modify and enhance it to support your testing requirements.

 

Unit Test Framework supports behavior driven development (BDD) and test reporting.

 

Unit Test Framework supports FIT-like testing.

 

The Unit Test Framework and GUnit are not compatible: tests written with one framework cannot be run under the other.