4

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

Dan D.
  • 73,243
  • 15
  • 104
  • 123
Muhammad Yasir
  • 646
  • 1
  • 4
  • 18
  • 2
    If you ended up at PHPUnit, you ended up fine, because that's what you would want to use for automated testing. That and Selenium. – Gordon Apr 29 '10 at 06:50

2 Answers2

4

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.

Bill the Lizard
  • 398,270
  • 210
  • 566
  • 880
erisco
  • 14,154
  • 2
  • 40
  • 45
1

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
  • 15,694
  • 44
  • 120
  • 182