Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Write acceptance tests #38
JDBM tests currently runs for couple of minutes. But we need better test suite to test JDBM before each release. It should run approximately week and should require 4 GB RAM and 100 GB HDD space.
I would like to keep tests fast, but this test should be also part of JDBM. So JDBM will have two modes:
There will be static final boolean field in CompileConfig.TESTED_RELEASE.
When set to false, only basic unit tests will be run for couple of minutes. At initialization JDBM will also log an warning that this release is dev version and did not passed acceptance tests.
When set to true, full battery of acceptance tests will be run. This will require significant resources and will for several days, before all tests pass. At startup JDBM will not display any warnings as this release probably passed all tests.
In git sources and during development time this flag will be off. Before release I flip it on locally and build release jar.