Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
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 ( [id://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"

Replies are listed 'Best First'.
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.

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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (8)
As of 2024-04-23 09:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found