question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Helix: Unable to use xunit test runner provided

See original GitHub issue
  • Is this issue blocking no
  • Is this issue causing unreasonable pain no

I used following yml file in AzDo pipeline to run tests in helix. It is using the template coming from arcade send-to-helix.yml https://github.com/dotnet/efcore/blob/3bb820d22911a1cbd911e13ddf366b317b43e78e/azure-pipelines.yml Notice, I am using netcoreapp3.1 It failed with error message that The application to execute does not exist: 'C:\h\w\AAD00963\p/xunit-runner/tools/netcoreapp3.1/xunit.console.dll' https://helix.dot.net/api/2019-06-17/jobs/6494ff66-71fe-40c9-9dd6-2c8936e1a6a8/workitems/Microsoft.EntityFrameworkCore.Tests.dll/console

I tried using netcoreapp3.0 also it failed with same error. Is there any missing configuration causing the error?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
jonfortescuecommented, Feb 15, 2020

Your MSBuild command is missing the /restore /t:Test parameters. We add those in the template to ensure all the files are there in the published output. I have a working build here.

1reaction
smitpatelcommented, Feb 13, 2020

@jonfortescue - That indeed worked. Thank you.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit Test fails to run on solution based on Helix Visual ...
Im trying to write Unit tests using XUnit, but none of the tests are running and not even failing. For test projects, I...
Read more >
Helix/HX Update Doesn't Work? Look Here!
jtuvner · 1. Disconnect the USB cable connecting the Helix/HX device to the computer. · 2. Boot the unit into "Update Mode" ·...
Read more >
HX Edit "no device connected" problem. Help please. - Helix
Restart your computer and connect to the Helix unit with a good USB cable and port (NO HUB). Now when you launch HX...
Read more >
Getting started: .NET Core with command line > xUnit.net
The xUnit.net test runner that we've been using supports .NET Core 1.0 or later, .NET 5.0 or later, and .NET Framework 4.5.2 or...
Read more >
Unit test reports | GitLab
You can configure your job to use Unit test reports, and GitLab displays a report on the merge request so that it's easier...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found