Jazarine Jamal wrote:
> I've just fixed a source bug on derby but don't quite know how to test it..
> The wiki has been telling me that I need to write my own tests to test
> And do I have to run all the tests: Functional,performance etc..?
> Please give me an insight into Derby Testing...
Derby has a set of regression tests in the code repository.
If you check out trunk, they are located under java/testing.
Most of the tests are based on JUnit, and you should be able to run them
any way you normally run JUnit tests. Each "test package" has a _Suite
class that runs the tests in that package, and there are also a number
of higher level suites in java/testing/org/apache/derbyTesting/suites.
Note that running all the tests takes a while (we're talking in the
range of hours).