Forked from puppetsw/AutoCAD_UnitTest
Referencing TestRunnerACAD dll directly will cause exceptions, ACADExampleTest can only work with referencing TestRunnerACAD project.
- Add Supports to AutoCAD 2019
- The extentreports-dotnet-cli deprecates ReportUnit. Use extent-framework / extentreports-dotnet-cli to replace ReportUnit. https://github.com/extent-framework/extentreports-dotnet-cli
- Add Trustedpaths in scr file.
- Move example tests to separate project to isolate changes.
An AutoCAD test runner using the NUnitLite framework.
Inspired by the work done by CADBloke. https://github.com/CADbloke/CADtest
Update the TestLoader.scr file with your project output directory.
netload "C:\Users\scott\RiderProjects\AutoCAD_UnitTest\TestRunnerACAD\bin\Debug\TestRunnerACAD.dll"
RunTests
Make sure to add your project output directory to AutoCAD's trusted folders. Also add references to acdbmgd.dll etc.
Set your run configuration as follows...
Tested on AutoCAD 2017.