class BradyW::MSTest

Runs MSTest tests using Visual Studio’s MSTest runner

Attributes

files[RW]

Required Files/test containers to test

version[RW]

Optional Version of Visual Studio/MSTest to use, defaults to 10.0

Private Instance Methods

exectask() click to toggle source
   # File lib/mstest.rb
17 def exectask
18   shell "\"#{path}MSTest.exe\"#{testcontainers}"
19 end
path() click to toggle source
   # File lib/mstest.rb
27 def path
28   visual_studio version
29 end
testcontainers() click to toggle source
   # File lib/mstest.rb
21 def testcontainers
22   specifier = " /testcontainer:"
23   mainstr = files.join(specifier)
24   specifier+mainstr
25 end