tt-acm / EnergyAnalysisForDynamo

Dynamo <> Autodesk Green Building Studio interoperability
Other
29 stars 18 forks source link

Testing Our Library #81

Closed eertugrul closed 9 years ago

eertugrul commented 9 years ago

notes from Ian's testing call last week.

system testing NuGet packages for dynamo can be find here: https://github.com/DynamoDS/Dynamo/tree/master/tools/NuGet

If I am remember correctly, we need implement three testing classes: dynamo nodes, dynamo UI nodes, sample files test

Use SystemTestBase and [TextFixture]

eertugrul commented 9 years ago

@bhowes-tt reminder !

bhowes-tt commented 9 years ago

Finally in process! I worked with Ian to get a hello world working with the Revit Test Framework, which was completed as part of pull request #103

Now I'm working on a branch called feature_ExampleFileTesting creating meaningful system tests. I have minimal tests for all samples, and have created explicit tests for a few files.

Super super useful already! image

bhowes-tt commented 9 years ago

So close... everything is working except example 1e.

eertugrul commented 9 years ago

@bhowes-tt I am following the steps here for creating testing framework for DynamoSAP as well. I forked RTF repo and install the RTF.exe and run GUI for EA4D testing project. I constantly get this error. " A reference type could not be loaded." What I am missing here ? image

bhowes-tt commented 9 years ago

@eertugrul You need to build the RTF project from source and use the compiled exe for testing - @ikeough hasn't updated the installer yet. Let me know if that does it...

eertugrul commented 9 years ago

no luck, might be the Dynamo version I use ? since some testing/srvices dlls are referenced from Dynamo08 folder.

eertugrul commented 9 years ago

never mind, it worked, I have typed additional resolution directories first then chose the testing assembly. :+1:

bhowes-tt commented 9 years ago

Success!!!

image

All samples running successfully using our testing framework. The tests are essentially pass / fail system tests - nothing too granular. BUT it works!

Also for the record - sample files had to be saved to run manually.

bhowes-tt commented 9 years ago

So glad to close this...