Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365535

Summary: Randomized tests for JGit API
Product: [Technology] JGit Reporter: Tomasz Zarna <tomasz.zarna>
Component: JGitAssignee: Tomasz Zarna <tomasz.zarna>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 Keywords: test
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 365444    
Bug Blocks:    

Description Tomasz Zarna CLA 2011-12-04 19:03:04 EST
Having bug 365444 fixed we could consider running a random set of Git commands (with JGit API) against a test repo and compare the result with CGit output. Once the test fails, the set should be remembered to serve as repeatable steps, a test case. The trickiest part here seems to be comparing with CGit which is not always available. Moreover, this kind of test can fail in the least expected moment, and it doesn't have to be related to the latest fix.

Thanks to Dawid for his inspirational talk on RandomizedTesting[1] at EDC in Poznan[2].

[1] https://github.com/carrotsearch/randomizedtesting
[2] http://wiki.eclipse.org/Eclipse_DemoCamps_November_2011/Poznan