Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by tachyon (Chancellor)
on May 12, 2004 at 11:06 UTC ( #352695=note: print w/replies, xml ) Need Help??


in reply to And now write 100 times: "I'll automate our test-environment"

Perhaps this may be of use Autogenerate Test Scripts

cheers

tachyon

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

Replies are listed 'Best First'.
Re: Re: And now write 100 times: "I'll automate our test-environment"
by Tomte (Priest) on May 12, 2004 at 11:17 UTC

    ++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

      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.

      use JUnit, perhaps? I've heard rave reviews about it.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://352695]
help
Chatterbox?
[msh210]: doesn't append anything.
[msh210]: It should say "If the last nonempty element of LIST" or "If the string thus to be printed does not end in a newline""
[msh210]: Am I wrong?
[shmem]: no. You're right.
[msh210]: About time... last time I was right was... I don't even remember when.
[shmem]: perl -e 'warn "test$/", ^@^ '
[Eily]: well, at least it's right about warn doing the same thing as die :)
[shmem]: same with undef as last element
[msh210]: oh, good point. It's the best kind of correct
[shmem]: msh210: but I'd not call it a lie outright. That's when you do know the truth.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (16)
As of 2017-04-24 12:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (439 votes). Check out past polls.