-
Notifications
You must be signed in to change notification settings - Fork 13
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 Testing #38
Comments
I bet we can get blast installed very easily. And we can include a sample blastdb or download one from somewhere in travis if available. Then we would need to run something (a dbseeder I guess?) before testing to configure the blast db. |
It's setting up blast on travis that has me worried so if you ever find your tempted to try it I would be very grateful ;-) <3 My intent was to distribute a blast database with the module in the tests directory (pending size) and we already have the blastdb node seeder for configuring it. I figured I would just seed the db in the tests like I did here and submit the form using drupal_form_submit(). I'm really only intimidated about getting blast to run on TravisCI... |
OK I'll start a branch to add that. Then we can worry about hooking it up to the module later. Feel free to add issue and assign me, or I'll just work on it and keep you in the loop. |
Awesome! Feel free to use my add-tests branch --that way when you're done you could pass the theoretical baton back to me without needing a merge into master but as always, I'm good with whatever you prefer :-D |
Downloading blast onto the docker from my computer
downloading onto the docker within the travis environment;
I either need to figure this out, or simply push the changes to dockerhub and use that image. The problem with the latter solution is when we upgrade the tripal container whatever someone will have to also create a new blast container. Its very straightforward but it would be simpler if we downloaded and installed blast in the travis environment. |
got it. for some reason, curl just will not work, but wget is OK. so we download it in the travis env, then move it into bin after it goes into the docker container with the rest of the module. |
I think this issue is resolved? |
With #35 I have begun creating PHPUnit tests for this module using the TripalTestSuite. 🎉
This issue is a place to discuss where to start and any other philosophy related to tests :-)
First up, I asked for guidance in #35: specifically,
@bradfordcondon replied with
Any other input? @ekcannon? I'm tempted to go with the ambitious suggestion by @bradfordcondon since I feel this would be the most useful testing but I also don't want to bite off more then I can chew ;-p
The text was updated successfully, but these errors were encountered: