Skip to main content

When I’m creating unit tests for example for a task, this task can have mandatory parameters. However to find this out I need to look up to task in the SF. So I need to open Tasks > search for the specific task > > Select Task Parameters and then sift through all the parameters and enter them mandatory.

It would be much easier if the unit test already loads all mandatory parameters (and maybe even defaults some values based on the domains or defaults but that could be difficult). 

NewOpen

OpenWorking on it!

Working on it!Next release
 
When creating unit tests for tasks, insert triggers as well as insert handlers, mandatory input parameters will now automatically be created.
For task parameters, the default value of the parameter itself will be included when it has been specified.
For insert statements and insert handlers, the default value of the column will be included when it has been specified.