views:

73

answers:

2

Hi, Till now I've been testing my web (usually written in PHP) as well as desktop applications (normally Java or C#) manually. Now I read somewhere on the net about automated tests. I tried searching to know about it in details but almost all searches end up at things like PHPUnit. Could someone please put some light on the theory behind automated tests? How a software can be tested automatically? Any limitations etc? Or may be you can tell me a place where I can read about this.

Regards

+1  A: 

These Test Tools are used in the following manner as, If suppose we have to test a webform we will pas the input data into the fields they have provided us with the tool, and the number of users needs to filling the form (their user-name), In this way when this is executed then the form gets filled with provided data with individual usernames, This execution may provide u test data as performance, time of execution and load etc...

WebLoad Testing Tutorial

see the above link for load testing...

See these links as well Functional testing

Security Testing

Link and HTML tool Testing

Performance Testing

OM The Eternity
Why do people do that? If you're going to vote someone down at least have basic courtesy to leave a note explaining why! Anyway, I don't see a problem with Perth's answers, so back to 0 he goes...
Martin Milan
Thanks Martin... Even I am fed Up of These people... Thanks Again
OM The Eternity
Thanks Parth, your answer helped me understand what I was seeking to.
Muhammad Yasir
n e time Bro...
OM The Eternity
I may feel like a noob but.. ummm I don't know what "n e time" means. :(
Muhammad Yasir
Its "ANY TIME" way to welcoming ur Thanks....
OM The Eternity
Aah... Ok, you added something more to my knowledge. But if I say thanks again, it will be become infinite recursion lol. :)
Muhammad Yasir
+3  A: 

For testing the correctness of code you can use unit testing. This was first explained to me from Dive Into Python: Unit Testing and will do much more justice to the topic then I could here. Now that you know about the term unit testing, you shouldn't be far from other existing explanations that will make sense to you, be it that one doesn't.

You may find test-driven development of interest too.

Your code is not magically tested for you, as you may had the idea of. The code to test your application will be written by you. What packages like PHPUnit offer you is a framework in which you can implement your tests. These packages will provide many conveniences for defining your tests, running them together as a suite, and generating a report. These are the only automated aspects.

erisco
Thanks for the help. I'll read these pages in detail.
Muhammad Yasir