-
Notifications
You must be signed in to change notification settings - Fork 875
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
Start addressing the tests #604
Conversation
use mfs make components more independent flatten some directories
With the current configuration, I'm getting this:
Never mind Victor 😄 Although, I'd like to know if it is possible to integrate |
I think you should start with setting up tests with spectron/acceptance testing. Main idea is to just make sure the core UI functionality works. Then you can start adding unit tests for making sure every detail is working. About coverage, we still working on making sure the secret management in Jenkins is stable and secure. So not gonna do that from jenkins just yet. Another point, in general you should avoid having files with big and small letters, as you'll hit confusing errors when you name some file |
I'd like to do that but it isn't simply working... yet! Our electron is using some pre-compilers for LESS and Babel and I wasn't still able to decipher how to use that with Spectron.
I'm just using CamelCase for files with components to follow React's best practices, but I can change that. Should I? |
Codecov Report
@@ Coverage Diff @@
## feat/components #604 +/- ##
=================================================
Coverage ? 4.29%
=================================================
Files ? 56
Lines ? 839
Branches ? 0
=================================================
Hits ? 36
Misses ? 803
Partials ? 0
Continue to review full report at Codecov.
|
@victorbjelkholm I'm trying to make this simply start the app and nothing seems to happen. I'll increase the timeout for something like 10 mins and see what happens. Ref.: electron-userland/electron-compile#178 Edit: same thing. Nothing seems to happen after app.start() |
6bde49d
to
28608cd
Compare
Many conflicts.
|
Ref.: #50
Starting by testing the components directory.
This uses
feat/components
as base. Can only be merged after #596