Michael Ondrejko
2012-06-12 22:09:42 UTC
We are using testng with a large source base. With testng 6.3.2 and 6.4
there is a long pause before tests start running. It seems that this is the
time that testng is scanning classes for testng annotations. For our source
base, this requires 15+ minutes to complete. Unfortunately, our test
classes are in the same package structure as the product classes themselves
and it is not possible to change this organization. I have looked for a way
to limit that classes (and jars) that testng is scanning, but it seems to
pick up the test classes, everything in the classpath that matches the
package definition specified in testng.xml are scanned.
Is it possible to further limit this scanning or otherwise speed up the
startup time for testng.
there is a long pause before tests start running. It seems that this is the
time that testng is scanning classes for testng annotations. For our source
base, this requires 15+ minutes to complete. Unfortunately, our test
classes are in the same package structure as the product classes themselves
and it is not possible to change this organization. I have looked for a way
to limit that classes (and jars) that testng is scanning, but it seems to
pick up the test classes, everything in the classpath that matches the
package definition specified in testng.xml are scanned.
Is it possible to further limit this scanning or otherwise speed up the
startup time for testng.
--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-dev/-/iVXlAbeoN3MJ.
To post to this group, send email to testng-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to testng-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en.
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-dev/-/iVXlAbeoN3MJ.
To post to this group, send email to testng-dev-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to testng-dev+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en.