Skip to content

Create UnitTest not funcitoning for modify methods returning void #430

Description

@IsakNaslundBh

Description:

Modify methods returning void act differently then other engine methods, in that the return type is the first argument modified, rather then the return value from the method.

This is not handled by the UnitTest component.

Steps to reproduce:

Try create a UnitTest with any modify method with a void return type.

Expected behaviour:

For modify method with void return:
For the inputs to be deepcloned before method is called
For the Output on the TestData of the UnitTest to be set to the first argument of the method after it has been run.

Test file(s):

Metadata

Metadata

Assignees

Labels

type:bugError or unexpected behaviour

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions