-
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
Automated tests + CI #3
Comments
SGTM! 👍 |
I'm working on this using mocha + webdriver.io |
Nothing that I can share unfortunately. All the work I've done has been for I will give you a run down of some hints and tricks that I learned though!
https://angular.github.io/protractor/#/server-setup You can of course set it up yourself as well. If you have any questions let me know. On Wed, Jun 10, 2015, 1:53 AM Harlan T Wood notifications@github.com
|
Thanks @travisperson, much appreciated! |
Progress report: I made a simple webdriverio-mocha-example repo which tests integration of:
After some struggles, it now works both locally and on Circle: https://circleci.com/gh/harlantwood/webdriverio-mocha-example Next step: actually testing something useful 😉 |
@harlantwood that's great! |
I've let go of working on this for now. Once I got deep in, it seemed like most of what I was testing was actually that the IPFS API worked as expected, which already has its own tests. Closing for now, anyone feel free to reopen if it seems like a good pathway for further exploration. |
It occurred to me today that (most of the moving parts of) the tree viz in #1 can be tested on CI pretty readily:
ipfsd-ctl
packageipfs add -r some-test-fixture-dir
load up a headless JS browser with http://www.nightmarejs.orgWhile this does not test D3 or the layout code, it would test all of our logic, and the connection to the IPFS API.
The text was updated successfully, but these errors were encountered: