Webception
Webception copied to clipboard
Codeception Internal Integration
As far as I understand you are running Codeception via CLI only. I think that can be much improved if Codeception will be run in the same process. At least this is how I thought about it.
Basically you will need nothing more then custom Extension for this. This way you can listen to events and update application status.
For example, provide custom output formatted for web. For example you can print test with all their steps, print assertion fails, insert screenshots, etc.
As I think of it - web interface can be just an interface and use all internal Codeception features. I know they are not all documented as needed, but I'm here and you can ask anything you need. Also in Skype: davert.ua
This is a great idea. It'll obviously take time to understand how this will work, and what I'll need to restructure (given Codeception is a Composer dependancy) but I'd would love for it to be an optional Extension to Codeception.
I'll start looking at the Extensions documentation and see how existing plug-ins are built.
I think we can contribute to this project. I really like it ) If you don't mind I can take the internals part and you may take UI part. The current challenge I see here is handling long-living request: a tests will be executed in a separate process and responses will be delivered in a realtime from it. Unlike syncrhonous reqyest-response approach, listening to one process will require smth more.
I think Codeception can have an extension that will send its events via websockets and the webception woud handle it on its site.
I'd be keen to see how you progress it. If you can prototype something, or even document something it would be really helpful.
But importantly, I started this to learn more about Codeception and how I could integrate further. So, I plan on building and maintaining as much of it as I can, not just the UI.
Sounds great ) And btw great to see the first release. I hope it helps to get started with testing without using the console.