Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Re: And now write 100 times: "I'll automate our test-environment"

by Tomte (Priest)
on May 12, 2004 at 11:17 UTC ( #352696=note: print w/ replies, xml ) Need Help??


in reply to 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"

++tachyon. I bookmarked the program; alas it won't help me at work, as most of the stuff here is coded in java

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus


Comment on Re: Re: And now write 100 times: "I'll automate our test-environment"
Re: Re: Re: And now write 100 times: "I'll automate our test-environment"
by geekgrrl (Pilgrim) on May 12, 2004 at 19:13 UTC
    use JUnit, perhaps? I've heard rave reviews about it.
Re: Re: Re: And now write 100 times: "I'll automate our test-environment"
by tachyon (Chancellor) on May 13, 2004 at 01:12 UTC

    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. You could also write some tests in Java and some in Perl as you desire. Given the far more strongly typed nature of Java you could stub up all sorts of 'standard' tests automatically. Just a thought.

    cheers

    tachyon

      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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://352696]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2014-10-25 23:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (149 votes), past polls