Comments (8)
I haven’t used this library for quite a while. I recall having issues with the core console - only the 1st version worked properly like a console then Autodesk changed the behaviour.
Did you try running it in AutoCAD and starting the tests with a command?
Also, the NUnit NuGet package is probably really out of date.
I don’t have much time in the near future to look at this but I’ll try to get to it.
from cadtest.
Thanks for your quick response.
I start running the tests by clicking Test Explorer on Visual Studio.
from cadtest.
That definitely won’t work. Have you read the wiki? There should be instructions in there on how to run the tests. I think. I might be thinking of the wrong project :/. Spoiler alert: you run the from inside AutoCAD, not from Visual Studio.
from cadtest.
Yeah nah wrong project. This readme is it.
You need to use a command in AutoCAD to start the tests running. I’m on a phone tonight, I’ll try to get a look at it when I am next in front of a computer.
from cadtest.
Here is the line in the code where it runs the tests: https://github.com/CADbloke/CADtest/blob/master/CADtest-CS/CADtestRunner.cs#L22
So you NETLOAD
the dll into AutoCAD and then run the command RunCADtests
It does not run in Visual Studio, it only runs from inside AutoCAD.
from cadtest.
I understand that I should have used 'RunCADtests' to run the tests.
Now CADTest seems to work.
Thanks a lot.
For someone's interest, I put my work records.
AutoNetLoad2018.scr
netload "C:\temp\CADtest-master\CADtest-CS\bin\Debug\CADtest-CS.dll"RunCADtests
Hmm, Report-NUnit.xml is not generated...
from cadtest.
System.IO.DirectoryNotFoundException
- the directoryReportUnit
does not exist (yet).
After this line: https://github.com/CADbloke/CADtest/blob/master/CADtest-CS/CADtestRunner.cs#L28
Add
Directory.CreateDirectory(directoryReportUnit);
or pull this repo - I added it here.
from cadtest.
I've added the line.
For someone's interest, I put my work records.
NUnitLite 3.5 works, but higher does not.
I've built ReportUnit and put exe in directoryReportUnit.
https://github.com/reportunit/reportunit
from cadtest.
Related Issues (10)
- Nuget project references for NUnit Alpha 5 are for wrong .NET version HOT 1
- Fix the sample test - disposal model is broken. Maybe HOT 1
- Add projects for the various AutoCAD versions
- Deal properly with NUnit's Program.(cs|vb)
- wiring up the TestResult.xml to VS HOT 2
- NUnit 3 is RTM - it's time to fix CADtest HOT 2
- Make an XUnit version too. HOT 12
- GeometricExtents unstable work causes exception HOT 5
- Revert C#6 special things so Visual Studio 2013 works
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadtest.