Comments (6)
No, it should work, but apparently it does not. Great that the workaround works for you, though!
I'll fix the parameter expansion as soon as possible.
from xunit-teamcity.
Hi,
Sorry to hear that! Could you share your folder structure and the value of the "Assemblies containing tests" parameter?
from xunit-teamcity.
@carlpett Thank you for the quick reply.
This is the input of our 'Assemblies containing tests:' parameter
%system.teamcity.build.checkoutDir%\src\app.Test\bin\Debug\name.Web.Test.dll
The environment variable exists. We're using it in other buildsteps too and we're able to 'cd
' to that specific folder.
I don't really know what you mean with the folder structure. But I can tell you the following:
Path/to/workspace/
:
src/
tools/
lib/
...
Inside src/ we have a test/
folder. After the execution of the job which builds our unittests, there is a bin/Debug
folder in it which contains our test.dll
.
from xunit-teamcity.
Hm, it looks like I might not be expanding variables in that parameter, which would explain it. However, the search is done relative to the current working directory, which is probably identical to %system.teamcity.build.checkoutDir%
, could just try to just remove that and specify src\app.Test\bin\Debug\name.Web.Test.dll
instead?
from xunit-teamcity.
@carlpett Okay, that was the issue. My apologizes! Thank you very much.
from xunit-teamcity.
I have the same issue:
Step 5/6: Run xUnit tests via `xUnit` runner (xUnit)
[14:55:37][Step 5/6] Runner parameters { Version = 2.4.x, runtime = .NET 4.5, platform = AnyCPU/MSIL}
[14:55:37][Step 5/6] Number of parallel processes is set to: 1
[14:55:37][Step 5/6] Starting test runner at C:\TeamCity\buildAgent\tools\xunit-runner\bin\2.4.x\xunit.console.exe
[14:55:37][Step 5/6] No assemblies were matched - no tests will be run!
from xunit-teamcity.
Related Issues (20)
- runner missing from zip HOT 2
- Teamcity Version 10.0.1 and version 1.1.3a HOT 1
- Support for xUnit 2.2.0? HOT 3
- Missing 2.2.0 in Runner Parameters HOT 2
- Add build step -> xUnit -> no parameters show up HOT 8
- Teamcity variables are not expanded in assembly list HOT 2
- Does this support team city and net core? HOT 5
- 'Test Failure' reported as 'Success' in TeamCity when message contains Unicode ’ char (RIGHT SINGLE QUOTATION MARK) HOT 3
- Update .Net Framework requirements to support framework 4.7 HOT 6
- Release 1.2.1 is not available in the TeamCity plugins area HOT 1
- Agent requirements not met - no compatible agents HOT 2
- Output message in each project nested to deep hierarchy HOT 3
- xUnit console runner fails to execute some (random) tests on Team City HOT 2
- Support for xUnit 2.4.0 HOT 4
- Platform parameter gets reset to default value when editing the step HOT 9
- can't select higher than 4.5 version of .NET Runtime HOT 2
- Version 1.3.0, but in teamcity-plugin.xml, version is 1.1.0 HOT 1
- aspnet 5.0 HOT 1
- TLS error during test runs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xunit-teamcity.