Write acceptance tests #38

jankotek opened this Issue Mar 19, 2012 · 1 comment


None yet
1 participant

jankotek commented Mar 19, 2012

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.


This comment has been minimized.

Show comment
Hide comment

jankotek May 9, 2012


Closing, not going to fix right now


jankotek commented May 9, 2012

Closing, not going to fix right now

@jankotek jankotek closed this May 9, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment