Questions tagged [vstest.console]

24 questions
0
votes
0 answers

Why task vstest@2 testassemblyver2 executing the list of dlls in alphabetical order ? how can we set to execute as given order?

I have list of test dll's and those are should be run sequentially. Here I'm using task: VSTest@2 and given list of dll's as input to testassemblyver2. Like task: VSTest@2 ....... inputs: testSelector: 'testAssemblies' testAssemblyVer2:…
0
votes
1 answer

VSTest Task Parallelization for each test assembly

I have the scenario where I have multiple test assemblies: TestAssembly1.dll, TestAssembly2.dll, TestAssembly3.dll, ... Each of these assemblies contains multiple tests but within one assembly tests must be executed sequentially due to an external…
0
votes
2 answers

No test is available error while running coded UI test on VSTS deployment group

We have configured release definition to run coded UI tests on VSTS deployment group. Unable to launch the tests, error details: Windows Error Reporting DontShowUI not set, if the windows error dialog pops-up in the middle of UI test execution than…
0
votes
1 answer

VSTS Test fails but vstest.console passes; the assert executes before the code for some reason?

Well the system we have has a bunch of dependencies, but I'll try to summarize what's going on without divulging too much details. Test assembly in the form of a .dll is the one being executed. A lot of these tests call an API. In the problematic…
0
votes
1 answer

vstest.console.exe - Specify output file location via command line

I'm running test on vstest.console.exe. How to specify the location of results file? vstest.console.exe [TestLocation] /Logger:trx /Platform:x64 /InIsolation /Tests:[Testname] SOLUTION: Run tests from the folder, where I want my "TestResults"…
Deividito
  • 23
  • 1
  • 9
0
votes
1 answer

VS Web Tests (MSTest) - How to set "One run per datasource row" when running from vstest.console

I use the "One run per data source row" setting in Visual Studio: As the dialog says, this is not saved. How do I provide the setting to vstest.console.exe? Edit: I think there used to be a Web Tests tab in the Test Settings Editor where I could…
Iain
  • 1,797
  • 1
  • 20
  • 38
0
votes
1 answer

VSTest Console with Jenkins- No test is available in the provided sources

While working on Selenium with C#, I used Nunit3testadapter to locate my testscripts in test explorer. I wrote the command line to execute my tests. That batch file uses VSTest.console.exe, which works fine for me. vstest.console.exe…
0
votes
1 answer

Jenkins MSTest-Plugin Error: java.lang.NoClassDefFoundError: hudson/maven/MavenBuild

I've been trying to set up Jenkins to work with my C# project to do automated testing and code coverage. I've got the testing working and code coverage files generating and converting using CoverageConverter.exe (not using any plugins--just…
James
  • 3,551
  • 1
  • 28
  • 38
-1
votes
1 answer

Data driven tests with [DeploymentItem] attribute causes OracleDataClientDriver error with NHibernate (vstest.console.exe, Visual Studio 2013)

We have some integration/unit tests to validate our NHibernate mappings. I introduced some data driven tests that utilize the [DeploymentItem] attribute above the test methods to import a CSV file. The mere existence of this attribute in any test in…
1
2