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.

No separate stack trace in Azure Pipelines results

See original GitHub issue

When using xUnit, my failing tests show a dedicated stack trace below the error message in Azure Pipelines, allowing me to click it to go straight to the relevant line in the repo:

image

However, when using Expecto, the stack trace is printed in the output message, but not available in the UI:

image

I am using Unquote for assertion, but the same happens with Expecto’s own failtestf.

I am using YoloDev.Expecto.TestSdk 0.8.0 and my tests are invoked on the CI server using

dotnet test path/to/project --logger trx --results-directory d:\a\_temp -c Release --no-build

This command “just works” with xUnit, but apparently not Expecto.

Is there any way to make Expecto stack traces available to Azure Pipelines? Is this something that must be implemented by Expecto, or something I must configure? If the latter, could it perhaps be changed to “just work”, like xUnit?

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
hafcommented, Nov 23, 2019

I know what that’s like 😉. At least with this thread it’s clearly documented what needs fixing and it’s not even a big fire that stacktraces don’t show up, so we can let it be right now until one of us has time to pick it back up.

1reaction
hafcommented, Oct 22, 2019

Good point! However, it requires a bit of remaking of the Expect module, responsible for printing the errors.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Review test results - Azure Pipelines
Review continuous test results with a build or release pipeline in Azure Pipelines or Team Foundation Server (TFS)
Read more >
Error and stack trace messages are getting cut off in the ...
I am running some tests in azure pipelines which generate a xml report. The report is visible under the 'tests' tab.
Read more >
GitHub integration with Azure Pipelines
Azure Pipelines that enables you to continuously build, test, and deploy to any ... stack trace, attachments, work items, historical trend, and more....
Read more >
Azure devops pipeline logs. Setting Pipeline Variables. I wou
Here are some alternative methods: Click "View raw log" in the upper right corner. 1. View all page feedback. 2. download the ProvisionKeyVaultPermissions....
Read more >
Ingest pipelines | Elasticsearch Guide [8.9]
Create and manage pipelinesedit. In Kibana, open the main menu and click Stack Management > Ingest Pipelines. From the list view, you can:....
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