Comments (7)
👍 Works on our agents. ty!
from xunit-teamcity.
Hi!
Thanks for reporting! There is an assumption in the plugin code, here, that all compatible build agents will have .net 4.0, which causes this.
I'll have a dig through JetBrains Javadocs to see if there is some better way to figure out if the agent can execute the test runner.
from xunit-teamcity.
I did come across that code yesterday and I thought that the .Exists
option might be changed to something like VER_NO_LESS_THAN
. I was going to give that a try on Monday.
Also, I opened a bug with TC as I believe they still should be reporting the runtime for tooling support while using the targeting pack for building/compiling. https://youtrack.jetbrains.com/issue/TW-46352
from xunit-teamcity.
The problem is that all the requirements act on a single agent property (such as DotNetFramework4.6_x64
), and all there is no property which contains "highest .net framework version installed", instead there are many properties which exist if the corresponding version is installed. So I don't think the VER_NO_LESS_THAN
route will work, sadly.
I'm installing TC10 on my test server now so that I can experiment a bit.
from xunit-teamcity.
Turns out there is a syntax for using regex in the requirements. I've updated to use that instead, and it looks good on my machine (TC 10.0 and 9.1.6). It is included in release 1.1.2
from xunit-teamcity.
Outstanding. I'll push it out to our agent pool and give it a go.
from xunit-teamcity.
Hi, All!
As for change in TeamCity ,net runtime reporting, The idea is the following. As all .NET 4.x updates are in-place so after you install .NET 4.6 on top of .NET 4.0 you don't actually have 4.0 runtime anymore. But Targeting Pack still exist. So starting from 10.0 TeamCity reports this case properly in my point of view.
As for provided fix in xUnit runner, I left my comment near commit.
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
- No assemblies were matched - no tests will be run! HOT 6
- 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.