This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
So - given the importance of Macros - it would be valuable to have the ability within Alteryx to generate a test harness with test data that ships with the macro (this way you can maintain and enforce regression testing)
- Macro that takes in 2 numbers and adds them
- Alteryx would look at the Macro to determine the input types, output types (in this case - two integers; with an integer output)
- Based on this, it could walk you through creating a fairly robust test harness that allowed the user to specify a set of inputs, and prompt you to also include things like blanks; negatives; etc (boundary values; deliberately destructive values like % or ' signs in strings; etc)