Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.02 KB

README.md

File metadata and controls

30 lines (19 loc) · 1.02 KB

Forked from puppetsw/AutoCAD_UnitTest

Updated Sep 14, 2023 by leaveblackgithub

  1. Add Supports to AutoCAD 2019
  2. The extentreports-dotnet-cli deprecates ReportUnit. Use extent-framework / extentreports-dotnet-cli to replace ReportUnit. https://github.com/extent-framework/extentreports-dotnet-cli
  3. Add Trustedpaths in scr file.
  4. Move example tests to separate project to isolate changes.

AutoCAD Test Runner

An AutoCAD test runner using the NUnitLite framework.

Inspired by the work done by CADBloke. https://github.com/CADbloke/CADtest

Running

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...

image

Tested on AutoCAD 2017.