xunit.runner.dnx on visual studio online no tests found
NickName:user1496062 Ask DateTime:2015-06-11T08:06:52

xunit.runner.dnx on visual studio online no tests found

In Visual studio online , i have got a dnx project to work and its all looking very good .

However while the test projects finds the test assemblies it doesnt find tests in them. It does work in visual studio locally.

Here is the log

> 2015-06-10T12:44:40.4024316Z Microsoft (R) Test Execution Command Line
> Tool Version 14.0.22823.1
> 
> 6  2015-06-10T12:44:40.4034315Z Copyright (c) Microsoft Corporation. 
> All rights reserved.
> 
> 7  2015-06-10T12:44:40.9083471Z Starting test execution, please
> wait...
> 
> 8  2015-06-10T12:44:41.0261699Z Warning: Using Isolation mode to run
> the tests as diagnostic data adapters were enabled in the runsettings.
> Use the /inIsolation parameter to suppress this warning.
> 
> 9  2015-06-10T12:44:57.8605322Z Warning: No test is available in
> C:\a\2b7cb926\Anne Prototype\ANNe\artifacts\bin\Test.ANNe.Compiler\Debug\dnx451\Test.ANNe.Compiler.dll
> C:\a\2b7cb926\Anne
> Prototype\ANNe\artifacts\bin\Test.ANNe.Compiler\Debug\dnxcore50\Test.ANNe.Compiler.dll
> C:\a\2b7cb926\Anne
> Prototype\ANNe\artifacts\bin\Test.ANNe.Core\Debug\dnx451\Test.ANNe.Core.dll
> C:\a\2b7cb926\Anne
> Prototype\ANNe\artifacts\bin\Test.ANNe.Core\Debug\dnxcore50\Test.ANNe.Core.dll
> C:\a\2b7cb926\Anne
> Prototype\ANNe\artifacts\bin\Test.Console\Debug\dnx451\Test.Console.dll
> C:\a\2b7cb926\Anne
> Prototype\ANNe\artifacts\bin\Test.Console\Debug\dnxcore50\Test.Console.dll.
> Make sure that installed test discoverers & executors, platform &
> framework version settings are appropriate and try again.
> 
> 10  2015-06-10T12:44:58.0834255Z Attachments:
> 
> 11  2015-06-10T12:44:58.0874253Z  
> C:\a\2b7cb926\TestResults\daa5a111-9c85-40a3-930d-d5a511bbf1ee\buildguest_TASKAGENT-0001
> 2015-06-10 12_44_50.coverage
> 
> 12  2015-06-10T12:44:58.1054246Z Information: Additionally, you can
> try specifying '/UseVsixExtensions' command if the test discoverer &
> executor is installed on the machine as vsix extensions and your
> installation supports vsix extensions. Example: vstest.console.exe
> myTests.dll /UseVsixExtensions:true
> 
> 13  2015-06-10T12:44:58.3310571Z ##[warning]No results found to
> publish.

Runner is set in project.json

"dependencies": {
    "xunit": "2.1.0-beta2-build2981",
    "xunit.runner.dnx": "2.1.0-beta2-build79"
},

Id like to not use my own build server at this point.

Copyright Notice:Content Author:「user1496062」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/30769425/xunit-runner-dnx-on-visual-studio-online-no-tests-found

More about “xunit.runner.dnx on visual studio online no tests found” related questions

xunit.runner.dnx on visual studio online no tests found

In Visual studio online , i have got a dnx project to work and its all looking very good . However while the test projects finds the test assemblies it doesnt find tests in them. It does work in ...

Show Detail

Tests are not visible by Visual Studio 2015

My tests are not visible in visual studio 2015 with DNX46 (Test > Windows > Test Explorer) I can run them from the console (with dnx test). Bellow the project.json of my test project { "version...

Show Detail

Selenium tests with WebDriver and Visual Studio Online

I'd like to run a number of Selenium tests as a part of my product's Contionous Integration mechanism. We're using Visual Studio Online. I've tried using IE WebDriver and it could not connect t...

Show Detail

Database integration tests in Visual Studio Online

I'm enjoying the new Build tool in Visual Studio Online. Allows me to do almost everything that I do my local build server. But one thing that I'm missing is integration database tests: for every b...

Show Detail

ASP.NET 5 tests on team city xunit.runner.dnx

I am using ASP.NET 5 and dnx with TeamCity. I have a unit test project and its run using a Powershell script that uses xunit.runner.dnx It all works fine locally in visual studio and in Powershell...

Show Detail

Running Silverlight unit tests in Visual Studio Online

I'm in the process of moving from on-premise TFS to Visual Studio Online (VSTS) and I'm trying to create a new CI build definition as our local one is xaml based. For our server based tests I'm us...

Show Detail

Run Load Tests during build within Visual Studio Online

I've created a Web Performance and Load Test Project which, for the moment, performs a couple of simple tests on our Dynamics CRM 2013 solution using Visual Studio Online. (Tests will be expanded a...

Show Detail

Visual Studio Unit Tests Not Found

I am using Visual Studio for a C# application. In my PC i had installed Gallio, which is a set of test tools (including a test runner). My Unit tests are normal unit tests using the NUnit framewo...

Show Detail

Visual Studio Online Fedora Server

Good day, after the recommendation from the Visual Studio twitter account I come here with a question I want to try to persist to a solution. The problem being, running an instance of Visual Studio

Show Detail

How to setup Continuous Integration in Visual Studio Online with Git and Nunit

I've setup a Visual Studio Online account and chose Git for source control. I'm using NUnit and Moq for my Unit tests and I have my solution in Visual Studio 2013. When CI kicks in the tests never...

Show Detail