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

Open
#405 0 comments 0 reactions 1 assignee View on GitHub

@IsakNaslundBh is already working on this.

Since Nov 1, 2022.

Assessment

This issue has not been assessed yet.

Description

type:bug
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):
Dominant language
C#
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BHoM/Test_Toolkit

All issues in BHoM/Test_Toolkit

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.