Documentation on CBNLanguageComparisonTests - Benglin/Dynamo GitHub Wiki
The project CBNLanguageComparisonTests.sln is tool to execute the Design Script language tests in language and CBN in Dynamo and compare the results Following are the step to follow.
- Set bool dumpDS=true; in C:\DDSGit\Dynamo\test\Engine\ProtoTestFx\TestFramework.cs
- Build Dynamo.All.2012.sln project
- Run tests in Nunit that needs to be import into Dynamo and test against Language
- This dumps the language Script into .ds files in folder Dynamo\test\core\dsevaluation\DSFiles
- Open GenerateTests.tt and change the string ChangeMe to desired class name
- Build the project CBNLanguageComparisonTests.sln and it generates the code in GenerateTests.cs