-
Notifications
You must be signed in to change notification settings - Fork 209
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
Test for DecodeQR Module #584
Conversation
Thanks for opening this pull request! |
This is great!!! I'd love to see it tested in the context of a sequencer "run" -- like we've done here: image-sequencer/test/modules/image-manip.js Lines 52 to 63 in 611016b
Perhaps we could combine these lines with your standalone test file? Have you confirmed this is being run in our Travis test runner here on GitHub? Great work! Thank you! |
Awesome---thanks!! The following Travis CI output was received after I opened the PR: Additionally, it shows "All checks have passed" for my "main" branch (screenshot below). Please let me know if there is something else with Travis that should pass. I will work on combining my test file with the structure of the image-manip.js file you have referenced--thanks! |
awesome work!
…On Thu, Jan 3, 2019 at 11:31 AM vishalbakshi ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In test/modules/decodeqr.js
<#584 (comment)>
:
> @@ -0,0 +1,111 @@
+const decodeQR = require('../../src/modules/DecodeQR/Module.js')
Thanks for catching that! I have found the typo in the relative path and
have fixed it in my repo. I am still working on adding the tests to the
image-manip.js file after which I will commit the update. I may post a
couple questions here tomorrow if I can't get my tests to work today.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#584 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ0KdgGB7Qk3j6Tc63CvHSOXb9_TTks5u_jA3gaJpZM4Zlr5H>
.
|
Hi @jywarren: I have a run into an issue as I try to incorporate my standalone code into image-manip.js:
Since the value of image-sequencer/src/ImageSequencer.js Line 146 in 107b4c2
However, I'm not sure how to get around this while still using the
Please let me know if you have feedback on any of the above points. |
Updated: `const decodeQR = require('../../src/modules/DecodeQR/Module.js')` to `const decodeQR = require('../../src/modules/DecodeQr/Module.js')` in order to attempt to pass the Travis CI tests.
Hmm, this is interesting! The tests seem thorough, but i see what you mean about them being kind of different than other tests. Why don't we ask someone from @publiclab/is-reviewers to read through this and offer their thoughts too? Thank you! |
Issue fixed |
Fixes #546
I have created a test for the DecodeQR Module in the test/modules/decodeqr.js file in my repo (vishalbakshi/image-sequencer > main)
This is my first time working with GitHub, as well as writing a test for an open source project so please let me know if I have not followed any common-sense conventions.
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!