BDDFramework

Stable Version 1.3.0 (O11)
Also available for 10, 9.1
Published on 02 December 2019 by 
Created on 26 February 2016
Details
The BDD Framework provides a set of tools for producing BDD Test Scenarios, which can be used for automated testing of your apps.
Read More

The BDD Testing Framework provides a set of tools for easily creating BDD / TDD style tests for your OutSystems Applications.

The main focus is testing the logic of your modules, by exercising the critical actions that support your app's use cases.

You can check the introductory article that covers the basics of how to use the framework, as well as other articles for using the REST API and creating data-driven tests

You can also check this demo video where we show how to use the framework to create a test for a piece of logic of the eCommerce app.

Main highlights of the component:

  • Create test scenarios and steps that are conformant to the principles of Behavior Driven Development.
  • Enable Test Driven Development - you can define scenarios and steps early in the app design stage and write the test code when the features have been implemented.
  • Easily add scenarios and steps by dragging and dropping web blocks (Scenario + Given / When / Then clauses).
  • Each step is implemented in its own action, making sure that steps are sequential and occur in the same request.
  • Enhance Test Maintenance - test outputs are identical to what is designed in Service Studio, making it easy to pinpoint step failures and evaluate the code behind them.
  • Supports multiple tests in the same page and evaluating final stats (number of successful / failed tests).
  • Includes dedicated Setup/Teardown steps for more complex test scenarios.
  • REST API for running tests and obtaining results, so that you can more easily integrate with your own tools.
  • Application and Screen Templates for fast setup of tests.




In an effort to improve customer service, we provide you with the following list of some known limitations with the BDDFramework. This is not a complete list of all existing limitations but is intended to help guide the determination of BDDFramework’s suitability to serve a particular purpose. 

  • The BDDFramework is not supported in Production environments, nor should it be published and consumed by other OutSystems Applications in such environments.

  • The BDDFramework is only supported in OutSystems 11 onward. 

  • Server Actions being tested by a test that uses the BDDFramework need to be set to Public.

  • Testing client-side actions of Reactive Web applications or Mobile applications is not supported.

  • Testing Screen Actions and Preparation Actions of Traditional Web applications is not supported. Please check here how you can use the framework to test server-side actions of OutSystems applications.

  • Creating tests using a Reactive Web or Mobile module is not supported.

  • Tests built with the BDDFramework that include actions that perform an AbortTransaction explicitly or implicitly (for example: through an ExceptionHandler with AbortTransaction set to “Yes”) are not supported. This also includes tests that call actions in the application being tested which perform an AbortTransaction. The AbortTransaction operation impacts the internal status of the BDDFramework, making the test results unpredictable.

  • The BDDFramework does not support tests being run in parallel over the same OutSystems environment. Running tests in parallel will make the test results unpredictable.


What’s new (1.3.0)
  • Application Template for BDDFramework Test Application
  • Screen Templates for a Simple Scenario and Data-driven Test Scenarios.
  • Revamped theme for the framework.
Reviews (4)
2 Jul
in version 1.3.0
Great tool ;)
6 Jun
in version 1.3.0
Awesome tool for the low code warrior! Help supporting your project's unit/component/integration and automated tests. Has still a lot of potential to grow, especially with Mobile and Reactive Web Apps testing, and additional plugins to enable its integrations with other testing framework landscapes.
2019-07-11
in version 1.2.2
Great tool!
Category
Samples & How-tos, Developer Tools
Support Options
OutSystems Supported
Customers entitled to Support Services may obtain assistance through Support.
Dependencies
BDDFramework has no dependencies.
Requirements
Platform:
11.0.0.200
Database:
All
Stack:
.NET
Component Consumers
See all 1 consumers
Weekly Downloads