Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Testing: Fun for the family

by BUU (Prior)
on Mar 09, 2004 at 11:24 UTC ( [id://335054]=note: print w/replies, xml ) Need Help??


in reply to Re: Testing: Fun for the family
in thread Testing: Fun for the family

You can always use Perl to make higher-level tests. I'm always writing little subroutines in test suites that capture a higher level testing concept.
Of course you can write higher level tests in perl. What I was trying to get at was writing higher level tests in a language thats a higher level then perl (such as english or some subset thereof).

Maybe it's not possible and maybe even if it was possible theres no real win. After thinking about it for a while it occurs to me that such a system would be very close to a programming-language-as-english, which doesn't exist now and despite several attempts doesn't appear to be coming any time soon.

Replies are listed 'Best First'.
Re: Testing: Fun for the family
by Abigail-II (Bishop) on Mar 09, 2004 at 11:38 UTC
    After thinking about it for a while it occurs to me that such a system would be very close to a programming-language-as-english, which doesn't exist now and despite several attempts doesn't appear to be coming any time soon.
    And I don't believe it will ever come. The problem with every day English is that it isn't precise enough. Look for instance at math/physics in the 17th century. Why did it got such a boost at that time? Because then they moved away from formulating problems and solutions in natural languages (Latin, English, German, French) and started using math symbols.

    It's the same with programming (and hence testing), you need to be accurate in what you describe. Hence, programming languages.

    Abigail

Re: Re: Re: Testing: Fun for the family
by adrianh (Chancellor) on Mar 09, 2004 at 11:55 UTC
    What I was trying to get at was writing higher level tests in a language thats a higher level then perl (such as english or some subset thereof).

    Sorry. Taking a firm grasp of the wrong end of the stick as usual!

    As you correctly point out what this boils down to is just-another-programming-language :-)

    You might be interested in taking a look at FIT - a slightly different approach to testing, especially at the higher acceptance test levels .

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-23 21:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found