BHoM / BHoM/Test_Toolkit

UnitTest_Engine: Modify methods with void return type not supported in check test

Open
#405 0 comments 0 reactions 1 assignee Claimed by @IsakNaslundBh View on GitHub
type:bug
Dominant language
C#
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

#### Description:

As title states, need to make a special case for checking of methods with void return type.

Linked to https://github.com/BHoM/BHoM_UI/issues/430

#### Steps to reproduce:

try checking a test with void return

#### Expected behaviour:

For modify method with void return we need to:
Clone the inputs before running
Take the first argument of the inputs after running and put that as the output from the run

#### Test file(s):

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.