Comments (9)
Nice!
from paraunit.
Supported events are now:
- engine.before_start ( listen by SharkPrinter)
- engine.start ( nothing atm )
- engine.end ( listen by FinalPrinter)
- process.started ( nothing atm)
- process.terminated ( listen by RetryManager, ProcessOutputPrinter)
The runner lost most of his dependency and feel more clean.
from paraunit.
All done in 21c55b7 right? Good!
I think I will use process.terminated
in #11
from paraunit.
Should we release this with 0.5?
from paraunit.
I had to fix the listeners priority: c26e787
from paraunit.
Yes i can see that. Good catch!
It's a shame we had to put a priority for events... I'll look into making those methods commutative. If it is possible.
from paraunit.
The priority was the quick fix.
Maybe we can change the behaviour a little, with the printer triggered by the parser in some way (directly? with a new event?)
Also, the parser is not required if the retry is needed. Do you think it'll be a good idea to take the RetryManager and convert it to a parser? It will become the first of the chain...
from paraunit.
Yes i think it would make sense moving it to the perser list, at the moment the retry parser feels kinda void...
We could merge those 2 and give more purpose to the current parser.
from paraunit.
Ok, I've open a new issue ( #21 ) for the refactoring, I'm closing this, it's all done for now, we can use the events as they are.
from paraunit.
Related Issues (20)
- Implement passthrough option
- Re evaluate PHPUnit CLI options
- 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
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.