-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Steve Hillier wrote:
> Hey all,
> 
> It's been a while :) -- work -- bleh...
> 
> I'm wondering what (if any) standards exist for unit testing on onms code.
> 
> I'm totally into the TDD concepts and I thought I might start working
> on some unit tests for the JMX data collector mods I'm working on.
> 
> Are there any standards that I should inform myself about before I
> start in on this?
Not so sure there's standards, other than "yes, we do TDD".  We use Spring
heavily to make it easier to wire up for testing (as I understand it, TDD was
one of the reasons for Spring being adopted in the first place).  We also use
EasyMock for MockObjects where appropriate.

Do I need to mention JUnit?  Or that you get gently beaten if your tests don't
pass when you commit/submit code?

Have I missed anything?

- --
Craig Miskell
Senior Systems Administrator
Opus International Consultants
Phone: +64 4 471 7209
A real engineer only resorts to documentation when the keyboard
 dents on the forehead get too noticeable.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAk1/u8kACgkQmDveRtxWqna9cACeMsQBRMeyQ2JbXlMqOehfdWNY
EgMAoJq7x9xmMlSxrP9X83cndrk70vOL
=hunT
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to