cake-build / cake-build/cake

I use XUnit2 method to test my unittest,I setting this reportname and dirpath.but nou result!

Open
#2,607 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.2k
Forks
778
Avg merge
3h 37m
Merged PRs (30d)
21

Description

### What You Are Seeing?
I use Xunit2 to prod test report.
eg:
`Task("xunit-test").IsDependentOn("build").Does(() =>
{
XUnit2("../CMakeUntil/tests/*/bin/Debug/*/*.Tests.dll",new XUnit2Settings() {
Parallelism = ParallelismOption.All,
XmlReport = true,
OutputDirectory = new DirectoryPath("./TestResult"),
ReportName = "Test.xml"
});
});`
but not result!!!
### What is Expected?

### What version of Cake are you using?
I don't know my version! I can do what?
### Are you running on a 32 or 64 bit system?
64
### What environment are you running on? Windows? Linux? Mac?
windows
### Are you running on a CI Server? If so, which one?
powershell

### How Did You Get This To Happen? (Steps to Reproduce)

### Output Log

GIST LINK - Please create a gist and link to that gist here

OR

~~~sh
PLACE LOG CONTENT HERE
~~~

Contributor guide

Open the contributing guide

Research direction

Start by confirming the Cake version and rerun the shown XUnit2 call with diagnostic logging, checking whether the DLL glob matches the tests and whether TestResult/Test.xml is created. Done means identifying why no report is produced and documenting a reproducible expected output path.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.