puppetsw / AutoCAD_UnitTest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

License:MIT License


Languages

Language:C# 100.0%