Open juliusknorr opened 2 years ago
I will help checking what I can do to send a PR and join forces.
For now, to analyze, I created this package to help a bit the setup with Behat and don't make necessary to use a Makefile to start the http server:
https://github.com/libresign/behat-builtin-extension
Other good feature in this package is because we can hide or not the logs from http server only using the verbose option when we run the tests.
Sounds great, the main purpose was to have common context methods for user handling and file operations/sharing, but the plugin might be something nice in addition.
Also cc @mejo- as collectives also has quite a few behat based tests.
@juliushaertl looking the description of https://github.com/nextcloud-deps I think that isn't the best place because will be a dependency by Nextcloud, not from 3rd party.
Maybe could be best move to nextcloud organization like nextcloud-vue repository.
Might be good to align on development of such a library, as most apps that have integration tests with behat either ship their own context classes or reuse the ones from the server.
We currently only use this in Collabora for running integration tests.
I also seen that @vitormattos has been working on https://github.com/LibreSign/nextcloud-behat So I guess it would make sense to join forces here.
cc @nickvergessen @PVince81 @ChristophWurst