Quantcast
Channel: Chutzpah - A JavaScript Test Runner
Viewing all articles
Browse latest Browse all 1864

Commented Unassigned: TFS 2012 Tests not executing [213]

$
0
0
Hi There,

We are using Chutzpah which is a great tool and we have had a lot of success using it within Visual Studio, however we cannot seem to get it working within out TFS 2012 automated team build. We have followed the steps in the ALM article (http://blogs.msdn.com/b/visualstudioalm/archive/2012/07/09/javascript-unit-tests-on-team-foundation-service-with-chutzpah.aspx?CommentPosted=true&PageIndex=2#comments) but when the build executes tests, it applies the *.js directive but then says no tests were run in the build summary. We have the Chuztpah files checked into source control and have updated the Build Controller with the location of these. We have also set the test spec files (we are using Jasmine) to copy to the output folder. I have set full diagnostic output for the build and the test section for */*.js is:

If Not DisableTests
Initial Property Values
Condition = True

00:10
Run Tests

00:10
If Not TestSpecs Is Nothing
Initial Property Values
Condition = True

00:10
For Each TestSpec in TestSpecs
Initial Property Values
Values = 2 sets of tests specified.

00:05
Try Run Tests

00:05
Run Visual Studio Test Runner for Test Sources

00:00
Assign spec to agileTestPlatformAssembly
Initial Property Values
Value = Run tests in test sources matching **\*.js, Target platform: 'X86'
Final Property Values
To = Run tests in test sources matching **\*.js, Target platform: 'X86'
Value = Run tests in test sources matching **\*.js, Target platform: 'X86'

00:00
Find Visual Studio Test Platform Test Assemblies
Initial Property Values
MatchPattern = D:\TFSWorkingDirectories\11\AnnuityQuotationsSalesSupport\BrokerMaintenance\bin\**\*.js
Final Property Values
MatchPattern = D:\TFSWorkingDirectories\11\AnnuityQuotationsSalesSupport\BrokerMaintenance\bin\**\*.js
Result = System.Linq.OrderedEnumerable`2[System.String,System.String]

00:05
If Visual Studio Test Platform Test Assemblies Found
Initial Property Values
Condition = True

00:05
If agileTestPlatformAssembly.HasRunSettingsFile
Initial Property Values
Condition = False

00:05
Run Visual Studio Test Runner for Test Sources
Initial Property Values
DisableAutoFakes = False
ExecutionPlatform = X86
ExecutionTimeout = 0
Flavor = DEV
KeepAlive = False
Platform = Any CPU
PublishResults = True
ResultsDirectory =
RunName =
RunSettings =
TestCaseFilter =
TestSources = System.Linq.OrderedEnumerable`2[System.String,System.String]
TreatTestAdapterErrorsAsWarnings = False
UpdateFrequency = 5000
UpdateFrequencyTimeout = 30
Test Run Completed. 0 tests executed.
Final Property Values
DisableAutoFakes = False
ExecutionPlatform = X86
ExecutionTimeout = 0
Flavor = DEV
KeepAlive = False
Platform = Any CPU
PublishResults = True
ResultsDirectory =
RunName =
RunSettings =
TestCaseFilter =
TestSources = System.Linq.OrderedEnumerable`2[System.String,System.String]
TreatTestAdapterErrorsAsWarnings = False
UpdateFrequency = 5000
UpdateFrequencyTimeout = 30
Final Property Values
Condition = False
Final Property Values
Condition = True

Test Run Completed. 0 tests executed.

Any ideas why the tests do not execute?

Thanks for any help.
Comments: Thanks for the quick response. I have checked the files and can confirm that we copied the entire contents of the vsix into TFS source control and pointed the build controller to the folder that the files are present in.

Viewing all articles
Browse latest Browse all 1864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>