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.2K All Categories
- 64 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 261 Administration
- 212 Portal
- 490 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 220 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 76 Lunch And Learn Questions