Bug 315717 - [build] implement test cases for validation
Summary: [build] implement test cases for validation
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: 0.7   Edit
Assignee: Markus Knittig CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks: 315716
  Show dependency tree
 
Reported: 2010-06-04 01:34 EDT by Steffen Pingel CLA
Modified: 2011-01-05 14:44 EST (History)
0 users

See Also:


Attachments
mylyn/context/zip (1.01 KB, application/octet-stream)
2010-06-04 01:35 EDT, Steffen Pingel CLA
no flags Details
Simple test for validate (2.83 KB, patch)
2010-06-07 18:02 EDT, Markus Knittig CLA
no flags Details | Diff
mylyn/context/zip (2.58 KB, application/octet-stream)
2010-06-07 18:02 EDT, Markus Knittig CLA
no flags Details
Test with fixture (5.01 KB, patch)
2010-06-07 18:57 EDT, Markus Knittig CLA
steffen.pingel: iplog+
Details | Diff
mylyn/context/zip (53.49 KB, application/octet-stream)
2010-06-07 18:57 EDT, Markus Knittig CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steffen Pingel CLA 2010-06-04 01:34:34 EDT
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.
Comment 1 Steffen Pingel CLA 2010-06-04 01:35:08 EDT
Created attachment 171066 [details]
mylyn/context/zip
Comment 2 Markus Knittig CLA 2010-06-07 18:02:08 EDT
Created attachment 171343 [details]
Simple test for validate
Comment 3 Markus Knittig CLA 2010-06-07 18:02:10 EDT
Created attachment 171344 [details]
mylyn/context/zip
Comment 4 Markus Knittig CLA 2010-06-07 18:57:05 EDT
Created attachment 171351 [details]
Test with fixture
Comment 5 Markus Knittig CLA 2010-06-07 18:57:08 EDT
Created attachment 171352 [details]
mylyn/context/zip
Comment 6 Steffen Pingel CLA 2010-06-07 22:29:19 EDT
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.