1 Reply Latest reply on Jun 6, 2009 11:41 PM by Pete Muir

    Web Beans application Unit Testing (WBRI-216)

    John Ament Master

      So I'm getting to the point where I need to write a test suite for my app for build time testing.  I see WBRI-216 which mentions AbstractWebBeansTest, but I can't seem to find it in any jar file.  Where is it, or do I need to build from source?


      Also, I assume while executing the UT's I'll need to access the webbeans impl jar files, correct? Or is this meant to actually run on the app server?

        • 1. Re: Web Beans application Unit Testing (WBRI-216)
          Pete Muir Master

          We currently haven't built a generalized testing framework for 299, other than what we use internally. However, you could take the webbeans-core-test module, and use it as a basis for writing such a framework. We definitely need it - if you want to contribute this, then start a thread on the dev list...


          If you are doing something like executing a TX, then you are writing an integration test, which you should run either on JBoss AS, or perhaps using Embedded EJB 3.1...