-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/24/2011 11:59 AM, soumya jyoti guru wrote: > Hi All, > I am trying to integrate junit test-suite in the ofbiz > framework for selenium testing.Can anybody help me by providing me the > detailed steps, how we can include our own junit test-suite in the > framework.If there is any included help in ofbiz for selenium then > please provide me with the link. Why would you want to integrate your Selenium tests into OFBiz? I would not recommend it.
These tests are functional tests and therefore need not and should not be mixed with the application they are testing. Sure OFBiz provides a way to specify Selenium tests with their Selenium-XML DSL but I do not recommend this as this prevents code reusage. Just run your JUnit-driven Selenium tests with the junit Ant target. That's it. Plain and simple. And the benefit of this is approach is that you can use the full power of JUnit4 (OFBiz still only supports JUnit3 for all its test infrastructure). Regards, René Scheibe - -- René Scheibe * [email protected] TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterföhring Geschäftsführer: Henrik Klagges, Gerhard Müller, Christoph Stock Sitz: Unterföhring * Amtsgericht München * HRB 135082 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1mxDwACgkQUXs9EHvIuCr7DwCfWO3blp9g3+bZdm1T2st2tmNb 31gAn3MMH2M/aEBydbPp+cJt9MBaqJkt =HymD -----END PGP SIGNATURE-----
