I use XUnit2 method to test my unittest,I setting this reportname and dirpath.but nou result!
- 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
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