Comments (4)
Since we have parsers for each of those kind of test outcome, we could give the responsability of dispatching events to those parsers. Then, the runner should be configured at runtime to stop execution if a requested kind of event is dispatched. Some of the refactoring inside #11 should help on this matter, since I made the container preparation later, there.
Do you think that those options should be also carried over to the single PHPUnit processes? (see #57)
from paraunit.
Since we have parsers for each of those kind of test outcome, we could give the responsability of dispatching events to those parsers. Then, the runner should be configured at runtime to stop execution if a requested kind of event is dispatched. Some of the refactoring inside #11 should help on this matter, since I made the container preparation later, there.
Surely the right direction, we should delay this a little bit, Util the #11 is ready!
I would add that the runner could listen to a "shutdown" (or terminate/complete etc..) event.
While the parsers could fire their own context-based events (failure_detected, error_detected..) the shoutdown notification should be prompted by another module of the system in order to keep the parser agnostic to any of this logic.
Do you think that those options should be also carried over to the single PHPUnit processes? (see #57)
If the option is handled in the global context pushing it down to the childs processes won't change much. It could turn out to be useful if the single test execution is expensive. In that case the single process will exit faster. In any case, considering that the cost of passing along the option to the childs is very little i think it should be done.
from paraunit.
Since I merged #58, that comes practically for free!
Il ven 11 nov 2016, 17:13 Francesco Panina [email protected] ha
scritto:
@Jean85 https://github.com/Jean85
Since we have parsers for each of those kind of test outcome, we could
give the responsability of dispatching events to those parsers. Then, the
runner should be configured at runtime to stop execution if a requested
kind of event is dispatched. Some of the refactoring inside #11
#11 should help on this
matter, since I made the container preparation later, there.Surely the right direction, we should delay this a little bit, Util the
#11 #11 is ready!
I would add that the runner could listen to a "shutdown" (or
terminate/complete etc..) event.
While the parsers could fire their own context-based events
(failure_detected, error_detected..) the shoutdown notification should be
prompted by another module of the system in order to keep the parser
agnostic to any of this logic.Do you think that those options should be also carried over to the single
PHPUnit processes? (see #57
#57)If the option is handled in the global context pushing it down to the
childs processes won't change much. It could turn out to be useful if the
single test execution is expensive. In that case the single process will
exit faster. In any case, considering that the cost of passing along the
option to the childs is very little i think it should be done.—
You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub
#58 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGaxBFk-p7hghsYzB26oluj9j1O-gh2cks5q9JQNgaJpZM4Kv0os
.
from paraunit.
Closing as superseded by #198
from paraunit.
Related Issues (20)
- Change injection point
- Differentiate between test outcome and issue
- Use autowiring
- Remove AbstractEvent
- Simplify Process objects
- Mark tests with coverage missing
- Handle `--column` option
- Handle all `--display-*` options HOT 1
- Handle all `--stop-on-*` options HOT 1
- Handle `--exclude-testsuite` and `--test-suffix` options
- Handle `--order-by` and `--random-order-seed` options
- Handle `--warm-coverage-cache` option
- Handle `--log-junit` option HOT 5
- Implement `--print-failed-early` option for version 1.x
- PHPUnit version visibility
- PHPUnit's string comparison diff is not handled by ParaUnit HOT 2
- PHPUnitError event is not handled
- crashing on --exclude-group HOT 1
- Deprecation warnings in >2.0 HOT 1
- Support for PHPUnit 11 HOT 1
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 paraunit.