X

An Oracle blog about PeopleSoft Technology

  • March 20, 2009

PSUnit - Unit test framework for PeopleSoft

David Bain
Sr. Director PeopleTools Product Management

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.

Join the discussion

Comments ( 1 )
  • Amit Thursday, June 1, 2017
    I would like to use psunit. Could you please help me to get it.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services