Welcome Guest, Not a member yet? Register   Sign In
SimpleTester 1.0 - CI-library for unit testing
#15

[eluser]cfraz[/eluser]
cisco:

I tried your SimpleTester and really like it. I set it up and the template tests work perfectly.

One of the reasons I wanted to try the SimpleTest library is its integrated WebTester. I added

Code:
require_once($libraryDir . '/web_tester.php');

to libraries/simpletester.php, hoping that would give me all the WebTester functionality. The WebTester asserts seem to work, but when I try to get a page with
Code:
class TestOfWebPage extends WebTestCase {
    
    function testHomepage() {
        $this->get('http://localhost/webtest/');
    }
}

the server just hangs and eventually I get a Nothing Fetched message. This is on Win2003/IIS 6 (I don't have the option of running Apache here).

When I set up SimpleTest in a non-CI framework, the WebTester works fine. Any ideas what's wrong?


Messages In This Thread
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-23-2007, 05:23 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-25-2007, 06:24 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-25-2007, 09:36 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-26-2007, 07:07 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-26-2007, 11:25 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-12-2008, 05:19 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 03:59 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:27 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:37 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-13-2008, 08:47 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-27-2008, 04:15 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-27-2008, 06:02 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-14-2008, 09:58 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-18-2008, 07:55 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 05-13-2008, 10:56 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 11-23-2008, 06:19 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 11-23-2008, 11:30 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-14-2008, 01:18 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 12-14-2008, 03:47 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-10-2009, 01:42 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-10-2009, 02:25 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-12-2009, 08:48 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-20-2009, 03:56 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 02-23-2009, 11:16 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 03-21-2009, 08:04 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 05-10-2009, 01:56 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 06-06-2010, 11:49 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 06-30-2010, 07:50 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 07-26-2010, 10:38 PM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 08-01-2010, 11:58 AM
SimpleTester 1.0 - CI-library for unit testing - by El Forum - 08-01-2010, 12:48 PM



Theme © iAndrew 2016 - Forum software by © MyBB