E2E test presentation in next Theia dev callJuly 5, 2019 at 8:04am
After the discussion we had on the last dev call, I've asked Radim Hopp, our QE lead to give a 15 min. presentation on the e2e testing efforst going on for Che. I've added and Agenda item. Please object if you think that's a bad idea.
July 5, 2019 at 8:12am
I had a short discussion with Sven about proposal from and to inject tests via DI. An idea is that we will have one new extension with a special entry point
frontendTestwhich points to a DI module loading mocha tests, this extension is added to the example apps and then apps are started in the special test mode. It should be possible as well to provide grep to run an individual test case and have a launch configuration to debug a single file with one click. With such approach we don't need any aditoinal UI frameworks and devs can maitain integration tests in the same way as usual code.
July 5, 2019 at 3:09pm
July 8, 2019 at 11:13pm
Yes. We did something similar. We interfered with the generated DI modules to expose the container thought global entry point API.
But it's pretty fragile so if there is a standard way to do such API tests I would prefer it.
July 9, 2019 at 5:30am
July 9, 2019 at 12:56pm
Can we start the call today with Radim's presentation?