Community
Participate
Working Groups
The repository validation tests should check basic things like a successful connection, invalid URLs, non Hudson URLs etc. similar to TracClientTest.testValidate(). Server configuration should be encapsulated in a HudsonFixture class similar to TracFixture. Initially, http://mylyn.eclipse.org/hudson can be used as a test environment.
Created attachment 171066 [details] mylyn/context/zip
Created attachment 171343 [details] Simple test for validate
Created attachment 171344 [details] mylyn/context/zip
Created attachment 171351 [details] Test with fixture
Created attachment 171352 [details] mylyn/context/zip
Excellent! I have applied the patch and added an AllHudsonTests test suite. You can add all new test classes there and we'll include the suite in the nightly test builds at some point to run all Hudson tests regularly.