Comments (4)
Hi. Can you give a more complete example of how you are running your test?
from tasty-expected-failure.
Here is a complete example using tasty-golden
https://github.com/expipiplus1/tasty-expected-failure-exception
from tasty-expected-failure.
I think this is a problem in tasty-golden
. But it would be nice if tasty-expected-failure
dealt with these cases too.
from tasty-expected-failure.
Hmm; Iβd rather not add code to work around issues in other packages, if there is a chance to fix them there properly.
I guess the first step is to get @feuerbach involved and clarify what the contract for the IsTest class is: Should all exceptions of the code to test be caught by the run
implementation, or the caller?
(I hope that itβs run
βs responsibility to catch errors, and only throw exceptions, if at all, if something is wrong with the test suite.)
Once that is decided, then either tasty-golden
needs to be improved, or this package gets your proposed change.
from tasty-expected-failure.
Related Issues (12)
- Add `expectAnyFail`
- `expectFail` and timed-out tests HOT 2
- setup/teardown is executed for ignored tests? HOT 5
- Exceptions aren't counted as expected failures with tasty-golden HOT 1
- base 4.11
- Omit coverage for `expectFail`ed tests HOT 1
- ignore at runtime HOT 1
- Test failure in 0.12 HOT 2
- expected-fail-hh-tests failed in 0.12.1 HOT 12
- expectFail inconsistent with exceptions HOT 6
- Incompatibility with tasty-1.4 HOT 9
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 tasty-expected-failure.