open id 

HomeGeneral Q & A

Difference between Sample Data and Unit Tests Messages in this topic - RSS

Fresh Cut Grass
Fresh Cut Grass
Posts: 65


11/18/2021
Fresh Cut Grass
Fresh Cut Grass
Posts: 65
When using the debugger, I'm not really sure on what the difference is between sample data and unit tests. Do they do the same thing?
0 link
amber.blanton@decisions.com
amber.blanton@decisions.com
Administrator
Posts: 72


11/18/2021
amber.blanton@decisions.com
amber.blanton@decisions.com
Administrator
Posts: 72
Sample Data is comprised of a set of Unit Tests and is global for any Flow in your instance expecting the same name and type of input values. This can be useful when attempting to test the same input data in different workflows.

Unit tests on the other hand are comprised of the specifics variables you'd like to test, thus they are not global. This is more suited towards testing if specific inputs will pass/fail. Unit Test Rules can further specify the components/inputs/values of whatever you'd like to test through logic.

I hope this helps! If you have not seen it already, I recommend checking out our About Unit Testing & Debugging article for more details.
0 link






Powered by Jitbit Forum 8.3.8.0 © 2006-2013 Jitbit Software