in reply to Re: Re: Re: And now write 100 times: "I'll automate our test-environment"
in thread And now write 100 times: "I'll automate our test-environment"
You could implement a similar framework for Java testing in Perl using Inline::Java within the test scripts to access the java classes (use STUDY or AUTOSTUDY options) Then you get all the power and simplicity of the Perl testing framework but can run the tests against Java Classes.
I have to admit that if the application is mostly Java I would skip Perl and use JUnit and FIT for testing. I've found them a much better fit for Java based applications.
Leveraging Java into Perl's testing framework doesn't really buy you much for a Java application, and JUnit is integrated into pretty much all of the popular Java IDEs.
That said, it can sometimes be useful to use Test::Harness to bring the test suites of several different languages components together in a single reporting framework. Even then I'd probably be more inclined to use Inline::Java to run a JUnit test suite rather than move the tests into Perl.