On Tuesday, October 23, 2018 2:56:13 PM CDT Rasmus Schultz wrote: > Hey Figs, > > I wrote an early draft of an API for interoperability of back-end > components in test-frameworks. > > That's kind of wordy, so for now I'm referring to this as "test-interop". > > The draft and interfaces are here: > > https://bitbucket.org/mindplaydk/test-interop/src/master/ > > The idea is to provide a simple kind of streaming message protocol for > test-frameworks to back-end components, e.g. pretty-printers, reporters, > etc. > > For now, it's a few interfaces based on the semantics and properties of > JUnit XML reports, which are fairly universal. > > The interfaces can't really enforce call order, so for now, there's a > mandate about dispatching messages chronologically, and for test-listeners > to throw exceptions if messages arrive out of order. (It's not too shaky, > but not exactly rock-solid, and I'm definitely open to ideas.) > > Anyhow. Wondering if there's any interest in this? > > Cheers, > Rasmus
Interesting concept. However, I'm not sure who the target audience is. Is this something that would be helpful to the authors of PHPUnit/Mockery/etc? Or to users writing tests using those? Or...? It would need at least some buy-in from the target audience in order to proceed. Eg, if Sebastian said he was in and interested, that would make it a lot more reasonable. (Are there test runners other than PHPUnit that anyone actually uses? Honest question...) --Larry Garfield -- You received this message because you are subscribed to the Google Groups "PHP Framework Interoperability Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/4736214.vs1GIYsmc3%40vulcan. For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: This is a digitally signed message part.
