Bug 365535 - Randomized tests for JGit API
Summary: Randomized tests for JGit API
Status: NEW
Alias: None
Product: JGit
Classification: Technology
Component: JGit (show other bugs)
Version: 1.2   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on: 365444
Blocks:
  Show dependency tree
 
Reported: 2011-12-04 19:03 EST by Tomasz Zarna CLA
Modified: 2012-11-07 16:35 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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