Saturday, March 28, 2009

I created a nightly build to run my data driven unit tests.   When my build finished it was only partially successfully.   I looked at the unit tests and they were all passing yet there was an error on the testing step.  When I looked in the log below is the message I saw.   I thought this was a little confusing because there was only a warning.  I wasn’t sure what caused the TestToolsTask to fail.  I first thought it was a permission or some other issue when it was trying to publish but the results did publish.   Next I looked at the warning VSP1030 message.   Then I remembered I enabled code coverage but the build configuration was set to Release.  I changed the build to Debug and everything worked!   Before I figured out the issue I tried searching the web but I didn’t find any solutions.   I hope this helps.

Summary
  -------
  Test Run Warning.
    Passed  6
    ---------
    Total   6
  Results file:      t:\builds\MyTeamProject\Nightly Build\TestResults\builduser_MYSERVER_2009-03-25 23_56_46_Any CPU_Release.trx
  Run Configuration: Local Test Run
  Run has the following issue(s):
  Instrumentation error while processing file BusinessObjects.dll:
TESTTOOLSTASK : warning VSP1030: Invalid, mismatched, or no PDB file was found for t:\builds\MyTeamProject\Nightly Build\Binaries\Release\BusinessObjects.dll.
  The previous error was converted to a warning because the task was called with ContinueOnError=true.
  Waiting to publish...
  Publishing results of test run builduser@MYSERVER 2009-03-25 23:56:46_Any CPU_Release to http://tfsserver:8080/Build/v1.0/PublishTestResultsBuildService2.asmx...
  ....Publish completed successfully.
  The command exited with code -1.
  Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".
Done executing task "TestToolsTask" -- FAILED.

 

Mike

Saturday, March 28, 2009 1:23:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

Three friends and former colleagues of mine just released Remote Test Runner, a useful tool for running unit tests and especially data driven unit tests.    This tool allows users without Visual Studio such as Business Analysts, Business Testers, etc  to remotely the run data driven unit tests and view the test results in a clean report.   The tester can manage the whole process of inputting data to the tests, running the tests, and viewing the output.   One of my favorite features is the ability to do all of the asserts per row even if there are errors.   If you have used FitNesse, this is for the same type of testing.  One of the advantages of RTR over FitNesse is that the tests are unit tests and that you don’t have to create the fixtures. 

Check it out!

http://www.codeplex.com/rtr

Mike

Saturday, March 28, 2009 12:46:00 AM (Central Standard Time, UTC-06:00)  #    Comments [1]  | 
Thursday, March 19, 2009

Today my employer, Deliveron Consulting Services, was awarded the Microsoft Gold Certified Partner Status.  This certification is recognition of the level quality and talent we hold.  I am excited to be part of this rapidly growing company.

 

clip_image002

Thursday, March 19, 2009 2:19:00 AM (Central Standard Time, UTC-06:00)  #    Comments [0]  | 

Theme design by Jelle Druyts

Pick a theme: