Solved

Testing php web application

Posted on 2012-04-11
4
177 Views
Last Modified: 2012-04-30
Hi,

I was wondering if someone could tell me where to start for testing a web application which i think is now finished.  There is a limited amount of OOP involved, most of the php files are just plain scripts.  I should have started using unit testing, but is it too late? do i need to convert most of the scripts to OOP? are there any tools to test input fields on a browser? performance testing tools?

thanks in advance
0
Comment
Question by:MK15
  • 2
4 Comments
 
LVL 23

Assisted Solution

by:basicinstinct
basicinstinct earned 250 total points
ID: 37832216
0
 

Author Comment

by:MK15
ID: 37832231
i have looked into that, i was wondering does it need to OOP to be used efficiently?
0
 
LVL 109

Accepted Solution

by:
Ray Paseur earned 250 total points
ID: 37833541
Agree with the recommendations of selenium and phpunit.  You might also want to make a Google search for "code coverage maps" and going forward, this article may suggest some ideas that would be useful. (#protip: Build the test data before you build the code)
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_7830-A-Quick-Tour-of-Test-Driven-Development.html

Best regards and best of luck with it, ~Ray
0
 

Author Comment

by:MK15
ID: 37912647
thanks a lot guys ended up using Selenium and JUnit in Java
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question