Comments (8)
It seems to be something to do with TeamCity's auto detection of test execution. The build logs indicate that all 928 unit tests are being run plus 52 integration tests, as well as the specs.
from fakeiteasy.
Renamed from 'Not all tests are running on codebetter CI' to 'Number of tests is misreported on codebetter CI'
from fakeiteasy.
@philippdolder, @adamralph
check it out
from fakeiteasy.
woot! 👏 what did you do?
from fakeiteasy.
Added a build feature - XML reports. See on
http://teamcity.codebetter.com/admin/editBuildRunners.html?id=buildType:bt1255
toward the bottom, there.
I guess it picks up the Spec tests from the output, but can't for NUnit. If we'd used the TeamCity NUnit runner, it would've Just Worked(TM.
from fakeiteasy.
Great! Let's get it into the official build config. I don't want to use the TeamCity NUnit runner since then the CI server build diverges from a local rake
.
Interestingly, with xunit.net tests, this isn't required. It Just Works. I think the xunit.net runner has some special magic inside it to detect that it's running in the context of TeamCity.
from fakeiteasy.
XUnit may. I suppose an alternative could be to hook up a custom listener to NUnit that would emit the correct... I forget what they're called "notes to TeamCity", but only when running under TeamCity.
I wonder if we'd used the /labels
flag for NUnit if the test would've been detected.
I can experiment with either of those approaches if you like. But I think the thing I did today is pretty good. If you're okay with it, I'll move it to the official configuration (or anyone can) later today.
from fakeiteasy.
Done!
I think this fix is absolutely fine. No point spending more time on it.
At some point though, personally, I'd like to switch to xunit.net 😉.
from fakeiteasy.
Related Issues (20)
- Interface type property not return created object HOT 3
- How to fake a type that have `dynamic` (ExpandoObject) properties? HOT 3
- DoesNothing() and implicit creation options throws ArgumentException HOT 5
- Release 8.1.0 HOT 1
- Include README in NuGet package HOT 1
- Silence security vulnerability complaints over Microsoft.NETCore.App 2.1.0 HOT 2
- Release 8.2.0 HOT 1
- Fake does not work as argument constraint HOT 4
- Test fails on Version 8 but succeeds on Version 7 HOT 4
- Expose caught exception(s) in protected/abstract constructors HOT 10
- Invoke method after calling an Entities public method/behaviour HOT 7
- Release 8.3.0 HOT 1
- Captured argument has empty Values HOT 6
- Document how to use InternalsVisibleTo from project files HOT 3
- InvokesAsync - possible? HOT 5
- Inconsistent results when verifying received calls HOT 12
- Adding null-valued `EventHandler`s to a fake leads to `ArgumentNullException` HOT 10
- Release vNext
- Deploy fails due to System.OverflowException when updating comments HOT 6
- Assembly loading fails when called from a different `AppDomain` than the test runner's HOT 16
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 fakeiteasy.