Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Testing: Fun for the family

by BUU (Prior)
on Mar 09, 2004 at 11:24 UTC ( #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
Node Status?
node history
Node Type: note [id://335054]
help
Chatterbox?
[holli]: i was just thinking of the bare content.
[LanX]: Plenty of "templates" realised with CGI-HTML-function
[LanX]: well if you want you can fetch all XML and translate it to another board markup
[moritz]: at this time, a migration could consist of only migrating the rendered HTML of nodes
[moritz]: to a forum software that supports raw HTML input for legacy threads, and uses sane markup for everything else
[holli]: yeah, then vroom will personally stab me in the back at night
[holli]: exactly, moritz
[moritz]: with a big table of redirects to support the old links
[LanX]: do it
[holli]: well if you put some cleverness into the migration you can auto convert most of the links as well

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-11-20 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (292 votes). Check out past polls.

    Notices?