Difference between Sample Data and Unit Tests

Difference between Sample Data and Unit Tests

Comments

  • When using the debugger, Im not really sure on what the difference is between sample data and unit tests. Do they do the same thing?

  • 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 youd 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 youd like to test through logic.

    I hope this helps! If you have not seen it already, I recommend checking out our [url=https://documentation.decisions.com/v7/docs/unit-testing-debugging]About Unit Testing & Debugging[/url] article for more details.

Sign In or Register to comment.