Software Testing Class

Tutorial 9 – Using Slim Test Table Styles in Fitnesse

In previous FitNesse tutorials, we discussed and demonstrated examples related to the decision table. There are many other FitNesse tables which are yet to be explored. In this tutorial, we are going to discuss dynamic decision table in detail.

Dynamic Decision Table:

Decision table supplies the inputs and outputs for decision-making and marks the test as red or green color accordingly. Similarly, the dynamic decision table has the same syntax as decision table but it passes the column headers as parameters to the fixture in the form of Map or HashMap Java data structure. Syntactically, dynamic decision table has the first cell has to be prefixed by DDT: or dynamic decision:

To work with Query table, we need to do the following.

The explanation for Java Fixture:

This explains the entire Java fixture for the dynamic decision table which is shown below.

FitNesse Screenshot for Dynamic decision table:

Our decision table displays the result as the response received from Java fixture class. Let’s discuss how we end up in below FitNesse page for Dynamic decision table.


⇓ Subscribe Us ⇓


If you are not regular reader of this website then highly recommends you to Sign up for our free email newsletter!! Sign up just providing your email address below:


 

Check email in your inbox for confirmation to get latest updates Software Testing for free.


  Happy Testing!!!
 
Exit mobile version