1 Reply Latest reply on Jun 27, 2008 8:53 AM by camunda

    Unit testing MDBs?

      How do people gennerally go about creating in container unit tests for MDBs? Googling around it seems there are some discussion from 3-4 years ago about people asking this same question but I have yet to find anything. I see mention of "wanting" to support this type of testing in Cactus but as far as I can tell it was never done.

      Regards

        • 1. Re: Unit testing MDBs?
          camunda

          Hi homerlex,

          did you receive any answer? Any new thoughts on that by you?

          I am currently not sure if it would be a better option to start up JBoss Messaging or the like for a test in a real-live scenario or to use MockRunner to mock JMS (which cannot really be used for integration testing)...

          Thanks
          Bernd