-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Tests #467
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
Comments
Once this is out, I'd be open to helping write some tests. It'd be a good way to learn how Wekan is built, too. @mquandalle Do you think there would be any form of an integration test that would interface with the raw page elements (like cucumber or selenium)? Or could we get enough user-story coverage using the JS unit tests and 'mocking' out the other modules? If it's a silly question, no worries. I'm not familiar with the NodeJS testing ecosystem. |
Check out chimp; has been invaluable for Meteor testing |
Wekan is a end-user application. |
@miherlosev Some of the Wekan community is currently working off of https://github.com/wefork/wekan and I don't think any CI testing is set up currently for that repo. But I think it would probably be quite welcome. |
Ok. |
@xet7 |
There is .travis.yml file and build passing badge already at: If it's missing something, send a pull request or add issue to wefork what I should add there. |
Apart from the mostly stylistic Eslint static analysis, Wekan currently doesn’t have any test. This is a big problem that we need to fix. Unfortunately the Meteor ecosystem has historically been sort of lacking in this field, which means that writing tests for a Meteor application involves making some architecture decisions that haven’t been figure out as a documented standard by either the Meteor community or MDG.
I would distinguish mainly two categories of tests:
import
a single JavaScript object to run unit tests on it due to the lack of ES6 modules support in Meteor, but that problem will be solved with Meteor 1.3. So we soon won’t have any limitations on standard tests anymore.The first tests will come pretty soon. Basically I plan to migrate Wekan to Meteor 1.3 as soon as there is a working beta (
beta-2
raises some exceptions on application start, but these are reported and should be fixed in the next beta), then we will have to re-organize to some extends the internal structure of the application to make it more modular and to use ES6import
andexport
, first tests will come concurrently with this transition to canonical Meteor 1.3.The text was updated successfully, but these errors were encountered: