Welcome Guest, Not a member yet? Register   Sign In
Automatic Testing of Controllers
#1

[eluser]Eric Cope[/eluser]
I am currently using the unit test module (extended of course) to test my libraries and models. What ways exist to test controllers automatically?
#2

[eluser]Eric Cope[/eluser]
So I had an idea. Since all of my controllers feed the logs on error, if I can trigger the controller, I can read the logs after the test and check for errors, warnings, etc.

Is there a tool I can "browse" to a page, submit via POST, and trigger AJAX, from the command line?
#3

[eluser]Eric Cope[/eluser]
Here is one way - http://netevil.org/blog/2006/nov/http-po...thout-curl




Theme © iAndrew 2016 - Forum software by © MyBB