Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Re: End to End testing

by zby (Vicar)
on May 07, 2004 at 07:32 UTC ( [id://351379]=note: print w/replies, xml ) Need Help??


in reply to Re: End to End testing
in thread Trojan Perl Distributions

I don't understand why I should test only the interfaces. Do you argument that it is only interfaces that can fail when installing software tested in one environment in another unknown environment?

Replies are listed 'Best First'.
Re: Re: Re: End to End testing
by barbie (Deacon) on May 07, 2004 at 10:25 UTC
    There are lots of things that can fail. The network, your network card, the database daemon among many other things. You shouldn't be testing those so why test whether DBI can do them? If your interfaces are correct, then the fault will lie elsewhere and is down to the user to fix. If the database daemon isn't running for whatever reason, why should that mean you have a failed install? If you are correctly testing that the functionality of your modules is correct, then you shouldn't have to worry about whether DBI can talk to a live database.

    If you ever get involved with designing a large system, then testing the interfaces is all you can do. The GEC Telecommunications project for designing a System X telephone exchange, took 3 days to do an end to end run. If we had ever had to install it elsewhere, doing an install test like that would been laughed at. As such we tested what went in was processed correctly and what came out met the agreed expected output, both for garbage and accurate data. It meant we could run the regressions tests on small parts of the system that could be slotted in when bugs were fixed, and we knew it would work within the whole system, because the interfaces were correct.

    --
    Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/

      I agree that the installation testing should be more timely than a full development testing. I just want to suggest that End to End testing is the most effective way of testing - so I would do some End to End rather then interface testing during installation because this can catch errors faster than the other way.

      If I install some software and connect it to a database that that is not compatible with that software I'd like to be told about that during the installation proces. Otherwise I would use that software and possibly not even notice that it fails in some subtle way.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-20 03:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found