Unit Testing Framework

Stable Version 1.0.7 (O10)
Also available for 9.1, 9, 8, 7
Published on 11 January 2018 by 
Created on 03 June 2013
Unit Testing Framework allows you to easily develop and run unit tests for your OutSystems Platform projects. Get the comprehensive user guide from: http://tinyurl.com/utf-manual
Read More

For some parts of your system, you may find unit testing a good alernative to UI-based testing. Unit testing can be particularly effective for calculation engines and for business service components. Having a good set of unit tests for your system can help greatly when you come to change or refactor your system, as regression testing is automated and simple.

Feature List

  • Develop unit tests using familiar arrange-act-assert pattern
  • Test public actions of an eSpace, or private actions if tests are included in same eSpace
  • Includes set of basic assert actions; you can add more yourself if required
  • Test results summarised at test level, with further drill-down to show results for all assertions within test
  • Automated scanning of environments to dynamically discover and include new unit tests published in any eSpace
  • Automated republishing of unit test eSpace whenever code-under-test eSpace changes
  • Run and re-run sets of unit tests as required
  • Works with test-after or test-driven development

Main Benefits

  • Business logic can be tested independently of any UI, making tests less brittle than Selenium-based UI testing
  • Ideal for systems developed using 4-layer architecture recommended by OutSystems
  • Makes it easier to do test-driven development, if desired
  • Can alleviate reluctance to adopt OutSystems Agile Platform because of previous lack of unit testing support

Get the comprehensive user guide from: https://tinyurl.com/utf-manual

What’s new (1.0.7)

Automatic re-publish of outdated test modules was removed. Reason: the platform API supporting this will soon suffer changes, and that would cause runtime errors if this mechanism was still in place.

Reviews (1)
28 May
in version 1.0.7
Works as expected
Developer Tools
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from Andrew Burgess who created this component.
Unit Testing Framework has no dependencies.
Component Consumers
No consumers yet.
Weekly Downloads