Comments (5)
Great idea!
from nekexamples.
The unittest.expectedFailure decorator breaks Twisted Trial's test runner (https://twistedmatrix.com/trac/ticket/4811), which is used in buildbot. I'd really like to maintain interoperability with buildbot, so the how should be mark the expected failures?
I know that the unittest.skip decorator works. This won't run the decorated test method at all, so the failure won't appear. Is this acceptable?
from nekexamples.
Looks like the fix in Twisted Trial went stale. unittest.skip
seems ok for now, but can we leave this open with a blocked externally
label or something?
from nekexamples.
Upon consideration, I'm not satisfied with using unittest.skip
. I'd like to always run the expected failures to see exactly how/why they fail. That information is valuable.
I think we can mark the expected failures at the level of buildbot (not at the level of unittest). Each TestCase is run by buildbot using a Trial BuildStep. Like all BuildSteps, there are parameters can control how failures and warnings are handled. For the TestCases that are expected failures, we can set flunkOnFailure=False
and warnOnFailure=True
. That way, the expected failures are still run, but if (or rather, when) they fail, buildbot will not mark the overall build as a failure. I think they'll also be colored yellow (instead of red) in the GUI.
What do you think?
from nekexamples.
Sounds good. Can we also annotate them in case someone is running locally?
On Wed, Jul 27, 2016, 06:04 Ron Rahaman [email protected] wrote:
Upon consideration, I'm not satisfied with using unittest.skip. I'd like
to always run the expected failures to see exactly how/why they fail. That
information is valuable.I think we can mark the expected failures at the level of buildbot (not at
the level of unittest). Each TestCase is run by buildbot using a Trial
http://docs.buildbot.net/0.8.8/manual/cfg-buildsteps.html#trial
BuildStep. Like all BuildSteps, there are parameters
http://docs.buildbot.net/0.8.8/manual/cfg-buildsteps.html#common-parameters
can control how failures and warnings are handled. For the TestCases that
are expected failures, we can set flunkOnFailure=False and
warnOnFailure=True. That way, the expected failures are still run, but if
(or rather, when) they fail, buildbot will not mark the overall build as a
failure. I think they'll also be colored yellow (instead of red) in the GUI.What do you think?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#7 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABd7pJ0g3kEsLvmVVyYyBCd2ebXKc_Zgks5qZ1djgaJpZM4JNeA6
.
from nekexamples.
Related Issues (20)
- Add turbulent jet HOT 1
- Demonstrate how to use history points HOT 1
- Add example with cyclic boundary HOT 3
- Turb Channel must go HOT 8
- How to set the object in more complex geometry using the subroutine set_obj HOT 1
- turbChannel in NekExamples doesn't find avs.f HOT 4
- Prandtl number definition in annulus_2d/README.pdf is incorrect HOT 1
- [RANS] copy pr to prlag would change the scheme when PNPN-2 + p27=3 HOT 3
- Use new SIZE.template for all examples HOT 4
- Add neknek turbChannel example
- Add periodic hill example HOT 1
- Add wing example
- RANS Channel isn't fully resolved for Re = 100K HOT 1
- turbPipe not compiling HOT 4
- Error compiling cases with object definitions HOT 2
- Update examples to modern syntax
- NekExamples/benard/ray_9 fails HOT 1
- Update examples with newer release version HOT 2
- Update the readme on pipe example
- question on Rayleigh-Benard convection.
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 nekexamples.