Search This Blog

Thursday, October 1, 2009

PSUnit - Unit test framework for PeopleSoft

By david.bain

Many of you might end up building or modifying AppClasses while customizing PeopleSoft apps. AppClasses are object oriented stand alone peoplecode programs that are not tied to events, but rather have a package and class name that can be called. Applications and Tools are using these more and more so chances are if you haven't seen them you will. Want to know where . . . HCM Soa framework in 8.9/9.0 and PeopleTools message handler in 8.48 to name a couple.

To help test AppClass development, a PeopleSoft app development group built a tool called PSUnit. PSUnit is a simple testing framework that is used to write and run repeatable tests. It follows the xUnit architecture for unit testing frameworks.

Up to this point, PSUnit has only been available within PeopleSoft, but now it's available as 'open source'. Thanks to Jim Marion who took the time to clean up the pages, code, and other managed objects in the project and wrote an excellent document introducing PSUnit and describing how PSUnit can be used with Test Driven Development (TDD) projects.

The document and projects are found here:


Download project file

Introducing PSUnit

Give it a try and be sure to share your experience with other developers.

 
 

Oracle Blogs


 

  

No comments:

Post a Comment