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.
Howdy, Stranger!
Categories
- 4.3K All Categories
- 70 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 109 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 708 Forms
- 338 Reports
- 3 Designer Extensions
- 48 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 182 Datastructures
- 69 Repository
- 228 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 130 Lunch And Learn Questions