-
Notifications
You must be signed in to change notification settings - Fork 16
Handlers missing tests #89
Comments
I tried to write tests for ag_edit_participant.py but I failed to open the according website on my browser, even after creating an admin user. Is this class unused? |
It's still a working page from what I can see. You can access it via search, and edit. To go direct, you need to specify an email as an argument |
From a quick glance, there seems to be a bunch of stuff there. What are you On Mon, Sep 19, 2016 at 3:15 PM, Jamie Morton notifications@github.com
|
From what I can tell, it looks like these two modules are already tested ... |
kk On Mon, Sep 19, 2016 at 4:07 PM, Jamie Morton notifications@github.com
|
I redesigned tests for ag_stats.py because it was testing against hard coded numbers. Now it compares to stats obtained from database queries. It is part of my PR #111 , which fails otherwise, since it makes unrevertable changes to the DB. |
I'd like to know which lines of the code are not covered by my tests. I think this is normally possible with the coveralls page, but for this project it says: "The owner of this repo needs to re-authorize with github; their OAuth credentials are no longer valid so the file cannot be pulled from the github API.". Can we change this? |
@sjanssen2, I clicked on one of the coverage links and it seemed to work? See here |
@wasade You are right for the general table, but if you click on one of the listed files https://coveralls.io/builds/7976045/source?filename=knimin%2Fhandlers%2Fag_new_kit.py you can see my problem. |
@jairideout or @gregcaporaso, I think coveralls is acting odd here because of ownership under biocore. I have full admin here but I can't find a way to "authorize" this repo. I added myself to coveralls but I don't have the ability to twerk biocore repos. Any ideas here? |
It looks like it's working:
https://coveralls.io/github/biocore/labadmin
Is it working ok for you now, or do you still need something? Let me know
if your permissions aren't what they need to be and we'll get you the right
access.
|
The main page is, but file detail isn't, can you try: https://coveralls.io/builds/7976045/source?filename=knimin%2Fhandlers%2Fag_new_kit.py |
Do we know how a file must look like for http://localhost:8889/ag_third_party/data/ ? |
@sjanssen2, I really don't know. @jwdebelius, do you know by chance (I believe this is raw vioscreen data)? |
Some of the file detail pages seem to be working: I see that the one you linked above doesn't have file detail information. If you can see the file detail on this page I doubt this is a permission issue, but let me know if there is anything you want me to try. |
Thanks @gregcaporaso btw |
No, I see the following: @jairideout is going to change your credentials - I don't think I have access to do that either (or I just don't know where to go to do it). Give us a few mins. |
@wasade, are you signed into the Coveralls website? I couldn't view those files until I logged in with my GitHub account. |
Great, thank you! On Wed, Sep 21, 2016 at 9:28 AM, Greg Caporaso notifications@github.com
|
When I sign in, I get a notice that the source isn't available... On Wed, Sep 21, 2016 at 9:31 AM, Jai Ram Rideout notifications@github.com
|
Same notice as before, or different message? |
Different |
Can you see the source here? https://coveralls.io/builds/7977612/source?filename=knimin%2Fhandlers%2Fag_results_ready.py |
yes, @sjanssen2, are you able too as well? |
Okay, it wasn't a permissions issue (we have the same biocore org permissions). On one of the pages stating the source couldn't be found, there were two text fields that can be configured to help Coveralls find the files based on where they are in the Travis-CI build. The first text field specifies the absolute path to the cloned repo in Travis, and the second specifies a relative path to where the source files are in the repo. I can't remember exactly what I entered for the first text field. I deleted the contents in the second text field. Sorry I can't provide more details; now that the source files are working, Coveralls won't let me navigate to that page with the text fields. If this happens in the future, mess with those text fields until it starts working again. I just fixed the scikit-bio Coveralls source files in a similar manner. |
Okay, very weird. Thank you for the investigation and mucking with it :) I On Wed, Sep 21, 2016 at 9:50 AM, Jai Ram Rideout notifications@github.com
|
Glad it's working, thanks @jairideout! |
No problem! I suspect it's been an issue for awhile and ppl just don't check the individual files very often. I had to change the text fields several times until it started working, so unlikely to be a hiccup (and a similar fix to scikit-bio resolved the issue). Glad it's working now! |
Now that I am logged in to coverall, I can see the individual file coverage. Thanks for fixing it! |
cc @EmbrietteH
The text was updated successfully, but these errors were encountered: