Skip to content

Update to support AutoCAD2019 and change ReportUnit to extentreports-dotnet-cli

License

Notifications You must be signed in to change notification settings

leaveblackgithub/AutoCAD_UnitTest

 
 

Repository files navigation

Forked from puppetsw/AutoCAD_UnitTest

Note:

Referencing TestRunnerACAD dll directly will cause exceptions, ACADExampleTest can only work with referencing TestRunnerACAD project.

Updated Sep 14, 2023

  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.

About

Update to support AutoCAD2019 and change ReportUnit to extentreports-dotnet-cli

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%