Skip to content

Test toolkit investigate running all checks through n unit - #531

Draft
IsakNaslundBh wants to merge 60 commits into
developfrom
Test_Toolkit-InvestigateRunningAllChecksThroughNUnit
Draft

IsakNaslundBh wants to merge 60 commits into
developfrom
Test_Toolkit-InvestigateRunningAllChecksThroughNUnit

Conversation

@IsakNaslundBh

@IsakNaslundBh IsakNaslundBh commented Sep 26, 2025

Copy link
Copy Markdown
Contributor

Issues addressed by this PR

Branch where I have investigated getting Test projects set up in Test_Toolkit to help run various checks to be used with GithubActions.

Currently covering:

  • Compliance
  • Serialsiation
  • Unit test datasets

Also have a initial skeleton of a yaml workflow file. That yeaml file will need to be updated to incorporate steps of building the toolkit (as well as the dependecies (BHoM/BHoM_Engine/BHoM_Adapter)
This building step can hopefully be achieved relying on build artefacts from those repos.

I have tried to clean up som of the code from my experiments, but there are more cleanup to be done before this is fully merge ready.

Also BEFORE MERGE

  • Fix the yaml file to actually build the code
  • Remove all commited dlls for Build fodler as well as StartupHook

Test files

Changelog

Additional comments

Other issues I have not yet fixed:

Compilation warning for System.Runtime.CompilerServices.Unsafe

I did not bump the nuget package used in the CodeComplianceTest_ENgine
image

This is causing a miss-match For the System.Runtime.CompilerServices.Unsafe package.
the 5.0 version is required for Mongo Bson.

Could potentially just bump the package used, I simply run out of time to check this.

@IsakNaslundBh IsakNaslundBh self-assigned this Sep 26, 2025
@IsakNaslundBh IsakNaslundBh added the type:feature New capability or enhancement label Sep 26, 2025
… and Engine to netstandard

Also cleanup unused nugets and update nugets to latest version
…ke use of startup hook

This enables loading of BHoM asseblies from the correct folder (BHoM/Assemblies) without maing local copies.

This is critical to ensure the exact same dll is referenced, for example, the _same_ BHoM dll, which is critical for when for example filtering for if an obejct is an IObject
Mostly cosmetic to make tests look a bit nicer
…ig file. Make use for project complaicne and assembly info compliance. Tweaks to csFile compliance
Cant use acronym folder name for programdata
could not get relative paths to work
@IsakNaslundBh
IsakNaslundBh force-pushed the Test_Toolkit-InvestigateRunningAllChecksThroughNUnit branch from a8457b5 to 12f0754 Compare September 2, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:feature New capability or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant