mirror of https://github.com/sbt/sbt.git
The TestCaseGenerators uses global set for ensuring that certain generated values are unique. This is not the best design because the more properties you check the harder is to generate new sample inputs because of already accumulated values. This results in: [info] + Analysis.Simple Merge and Split: OK, proved property. [info] ! Analysis.Complex Merge and Split: Gave up after only 8 passed tests. 93 tests were discarded. I don't have an ambition to reduce the scope of this global set but at least I wanted to make generators to work a bit harder on generating samples. Instead of using `suchThat` method for filtering out non-unique samples we use `retryUntil` that never gives up (therefore it might not terminate). We had to upgrade to latest (1.11.1) version of scalacheck in order to have an access to `retryUntil` method. Also, I overridden the `identifier` to delegate to original `Gen.identifier` but with minimal size set to be to '3'. This means, the generated identifier will be of size 3 or larger which is needed in order to avoid collisions. |
||
|---|---|---|
| cache | ||
| compile | ||
| interface | ||
| ivy | ||
| launch | ||
| licenses | ||
| main | ||
| project | ||
| run | ||
| sbt | ||
| scripted | ||
| src | ||
| tasks | ||
| testing | ||
| util | ||
| .gitattributes | ||
| .gitignore | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| NOTICE | ||
| README.md | ||
| api.specification | ||
| scripted.specification | ||
README.md
sbt 0.13
This is the 0.13.x series of sbt.
- Setup: Describes getting started with the latest binary release.
- See CONTRIBUTING for how to build from source, open an issue, fix or add documentation, or submit a pull request.
- FAQ: Explains how to get help and more.
- Google Code: hosts sbt 0.7.7 and earlier versions