Commit Graph

57 Commits

Author SHA1 Message Date
jbertram ed4200d65e Update hacking guide
Update the Hacking Guide based on a recent conversation on the dev
list.
2015-06-25 14:14:00 -05:00
Daniel Kulp b19db275c0 Add eclipse files to .gitignore 2015-06-08 14:27:34 -04:00
jbertram 6eef7ec50b Update JIRA refs in hacking guide 2015-06-08 08:33:52 -05:00
jbertram 666b6ae03b Update hacking guide; add example tests 2015-05-28 12:20:35 -05:00
jbertram 328611fdc9 More test-suite refactoring
Lots of work on the test-suite in this commit including:
- Rename ServiceTestBase to ActiveMQTestBase
- Make AddressSettings fluent
- Remove unnecessary tearDown() implementations
- Use ActiveMQTestBase.create*Locator() instead of
  ActiveMQClient.createServerLocator*(..)
- Use fluent ServerLocator methods
- Make sure all ActiveMQServers.newActiveMQServer invocations
  are surrounded with addServer() where appropriate
- Create a few example tests to be references from hacking-guide
- Update hacking-guide with more info on writing tests
- Refactor config creation methods in ActiveMQTestBase
2015-05-28 08:49:02 -05:00
jbertram 99147d0713 Refactor base test classes
This has bothered me for awhile, but writing the hacking guide has
given me an opportunity to refactor some of our test-suite to be
simpler, more consistent, and easier to understand. This is
important if we want users to provide well-written tests. Our
test-suite is an important part of the code-base and it should be
easy to write good tests.

Basically I just consolidated CoreUnitTestCase, UnitTestCase, and
ServiceTestBase into a single class named ServiceTestBase. I also
simplified some of the configuration creation methods to reduce
duplicated code.
2015-05-19 15:27:13 -05:00
jbertram 70258865a5 Initial commit of the hacking guide 2015-05-19 15:24:51 -05:00