chnm / serendipomatic

http://serendipomatic.org/
26 stars 9 forks source link

configure tests to run on travis-ci #108

Closed rlskoeser closed 11 years ago

rlskoeser commented 11 years ago
rlskoeser commented 11 years ago

Should be basically set up. Now we just have to write some unit tests!

mialondon commented 11 years ago

Is that something that Outreach can help with, if we can provide decent instructions on writing good tests and setting them up in travis?

rlskoeser commented 11 years ago

I was thinking of code-level tests, which I think a programmer would have to do. I've been trying to start adding tests (at least a few, in small ways) as I add/update code.

Are you thinking of more UI level testing, e.g. if you enter text in the box and hit the button, you should see x results? I believe that kind of thing can be done with Selenium (and there is, or at least used to be, a browser plugin-- so an outreach team member probably could do at least a preliminary test script). I suspect we could probably figure out how to automate it and get those tests running in travis-ci, but I'm not certain what that would invovle.