1 Reply Latest reply on Dec 13, 2008 9:42 AM by ssilvert

    jsfunit beta 3 - jbossAS 4.2.2 : tests are very slow

    jadtn

      Hi,
      I am with :
      - jsfunit beta 3
      - jbossAS 4.2.2
      - Richaces 3.2.2-SR1
      - jsf-facelets-1.1.14
      - sun RI I have upgraded as it was specified here http://www.jboss.org/community/docs/DOC-12487


      To pass 59 tests it takes 368 seconds.

      Is it know as slow ?

      Thanks

        • 1. Re: jsfunit beta 3 - jbossAS 4.2.2 : tests are very slow
          ssilvert

          Without knowing what your tests do, that's hard to say. I know that we need to do some profiling on JSFUnit to see where the bottlenecks are.

          A few things that might help:
          1) Minimize the number of times you need to start the container. Ideally, you should only need to start it once for testing.
          2) Minimize the time needed to start JBoss. There is lots of information on tuning if you look at the JBoss wiki.
          3) Profile your application.
          4) Only run the test you are currently working on. You can do this by passing the test class to Maven or Ant. -Dtest=com.foo.MyTest

          I'll see if I can do some profiling of JSFUnit soon.

          Stan