-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Testing: CI #45
Comments
@gregpabian said:
|
+1 (without arguing ;-) ) |
👍 |
Noo... let's do this manually. Automation is for losers. (Trying to keep our threads consistently hot.) |
👍 (boooooring) But we could start argue if we should use Travis or Coverals :) |
I remember that we had a discussion whether single plugin's tests should be runnable from its directory. I can't find where the discussion was, but for now it seems that we decided that the tests will be run from the ckeditor5 repository. I though that while this is pretty ok for the development process because we KISS, it makes it hard (impossible?) to have CI for your plugins. It's not a big deal for us because we can test all our plugins and modules from ckeditor5 repository, but it will be a pain for all 3rd part plugins' developers as well as for our unofficial plugins. Basically, it unfortunately should be possible to easily run tests from plugin's directory so plugins can be integrated with any CI. |
I was wondering if it would be ever possible to bring all the necessary stuff for testing through a npm module. It would inject |
We've discussed this today and we're not going to work on allowing running tests from subpackages directories. @jodator has worked on setting up CI on Jenkins for CKEditor 5 and it turns out that it requires too many hacks because of the
Therefore we decided that CI must do the following:
|
As for testing |
That's sad since I think that much cleaner solution would be:
This would allow to run bender from Anyway this would require to adapt builder script for this so probably not going to happen and solution described by @Reinmar would probably work out of the box. |
I've been also considering this option. But now the truth is that
|
Probably separate per repo (even if some boilerplate will be needed). Also ckeditor5 would have all existing features/plugins so it will act as integration repo to run all the test so it would also have |
We can also have a special tag for integration tests and when running CI tests for subpackages ignore these (run them only when running tests from To clarify – each subpackage can define its integration tests. Dependencies (other subpackages) of these integration tests should be added to |
We'll continue this work in ckeditor/ckeditor5#354. |
The Testing page should have a section about continuous integration. We must agree whether, how and what to have in this sense.
The text was updated successfully, but these errors were encountered: