Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-1421

QMan Integration Tests : Tests with QMan & QPID running

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • M4
    • None
    • Java Tools
    • None
    • J2SE 5.0 or higher

    Description

      Actual bundle of QMan has only "offline" unit test that are running tests again isolated "components" of QMan.
      That means that in order to see those tests running you don't need to have QMan and / or Qpid running.
      This is good for development stage, allowing a (moreless) test-driven development and therefore a flexible code but in order to see that all is working (Test --> QMan --> Qpid) we need to add tests against a runnning QMan connected to a broker.

      I'm thinking about that...I already coded some tests but it's an hard work because the asynchronous nature of the interaction between QMan & Qpid.
      Probably QMan will be extended to support JMX notifications.
      I'm thinkng about that so I'm not sure but from a test perspective should be cool if you could register a test as a listener of QMan notifications and in that way you will be informed about object creations, events, method invocations and all what you need to run your verifications.

      If you some kind of idea feel free to suggest...

      Regards,
      Andrea

      Attachments

        1. qman_systest_05112008.patch
          174 kB
          Andrea Gazzarini

        Activity

          People

            Unassigned Unassigned
            a.gazzarini Andrea Gazzarini
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: