-
Notifications
You must be signed in to change notification settings - Fork 58
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
Set up automated unit tests #66
Comments
That was much less traumatic than I anticipated. Codeship can also automatically deploy to Google App Engine -- something we should make happen. This includes generating Javadoc. |
Wow looks interesting. Are you talking about https://en.wikipedia.org/wiki/Travis_CI ? I have just checked the page: https://github.com/integrations - really impressive. |
|
How do you like to write tests?
by infrastructure:
I see you chose 2) but instead of real Wikipedia you use test.wikipedia.org with test pages specially created for that. Hm. LGTM. Regular testing on real Mediawiki ensures stability and freshness. |
I consider using getMax() instead of hardcoded "max" in "&tllimit=max" or similar. |
Codeship is similar. Two test classes are necessary because there are some things that can never be unit tested due to dynamic content (e.g. recentchanges). I would like the unit tests to cover as much as possible, but writing them is not particularly interesting. |
What about using Mockito in tests? But you can't imagin how powerful and useful it is. |
I am not familiar with Codeship. Does it run on pull requests and return the result so it can be displayed on GitHub? Otherwise, I'd suggest using travis-ci.org. |
Implemented Travis CI support #141 |
Codeship allows direct push to Google App Engine, which is something I want to set up eventually. |
Testcase 'org.wikipedia.WikiUnitTest.diff' is failing since August 4th |
And after reading the discussion i like Mockito to fake remote content, works fine for my testcases |
Now that we're on Github, we have access to some CI tools e.g. Travis-CI. This would be great for running unit tests automatically.
The text was updated successfully, but these errors were encountered: