Author Topic: Gallio & AutoCAD's version  (Read 3541 times)

0 Members and 1 Guest are viewing this topic.

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Gallio & AutoCAD's version
« on: April 04, 2014, 05:03:08 AM »
Gallio has not the Gallio.AutoCAD.Plugin200.dll still (for the AutoCAD 2015).
« Last Edit: April 11, 2014, 02:18:31 AM by Andrey Bushman »

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Gallio & AutoCAD's version
« Reply #1 on: April 11, 2014, 02:33:56 AM »
I compiled the Gallio.AutoCAD.Plugin200.dll file myself: now it works fine for AutoCAD 2015 too. The Gallio has not a documentation. It is very bad. The tests can't be launched with using of accoreconsole.exe. I think the reason is accoreconsole has not COM API. So this absence is very bad too.

Now I run my tests through the BAT file:
Code: [Select]
SET GALLIO_RUNTIME_PATH=C:\Program Files\Gallio\bin
"C:\Program Files\Gallio\bin\Gallio.Echo.exe" mytests.dll /r:AutoCAD
pause

The short report I see in the console output:
Quote
1 run, 1 passed, 0 failed, 0 inconclusive, 0 skipped

1. Can I use the Gallio Icarus (i.e. GUI application) for doing the same? If "yes" which settings I must to set?
2. I need the info about the "Properties Tab and about its the nested Tabs (Hint Directories, Test Package, etc). Documentation is not exist.
3. Can I to point in the BAT file the creating of detailed report file?

P.S. People! anybody writes the tests for own AutoCAD plugins? Whether it makes sense to ask questions about this subject? I don't want to speak with myself...
« Last Edit: April 11, 2014, 01:39:35 PM by Andrey Bushman »

WILL HATCH

  • Bull Frog
  • Posts: 450
Re: Gallio & AutoCAD's version
« Reply #2 on: April 11, 2014, 02:54:42 AM »
You're speaking with yourself, but I'm listening.  It's an area that I need to start understanding in the future!

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Gallio & AutoCAD's version
« Reply #3 on: April 11, 2014, 03:16:42 AM »
Some interesting info I've got via the /? key:
Code: [Select]
C:\Users\andrey>"C:\Program Files\Gallio\bin\Gallio.Echo.exe" /? > "c:\public\Gallio.Echo_options.txt"
So I changed my BAT file:

Code: [Select]
SET GALLIO_RUNTIME_PATH=C:\Program Files\Gallio\bin
"C:\Program Files\Gallio\bin\Gallio.Echo.exe" ".\mytests.dll" /r:AutoCAD /rd:".\reports" /rt:XHtml /sr
pause

I see the same result as I expected for the Gallio Icarus. So the Gallio Icarus is not interesting for me already, i.e. I got what I need.

The Topic can be closed.
« Last Edit: April 11, 2014, 03:34:27 AM by Andrey Bushman »

bargool

  • Guest
Re: Gallio & AutoCAD's version
« Reply #4 on: April 13, 2014, 10:23:37 AM »
Rubber duck debugging   :laugh:
Thank you for sharing!

Andrey Bushman

  • Swamp Rat
  • Posts: 864
Re: Gallio & AutoCAD's version
« Reply #5 on: April 28, 2014, 09:37:27 AM »
Note: in my previous command line is better to use /rt:Html instead of /rt:XHtml. In this case report will detailed, as report of Icarus.