This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

lehel
lehel

Somebody used testcases in october cms. I try to use test cases like in laravel but i didn't find any usefull. I would prefer like this one:

public function testCallWelcome() {
    $response = $this->call('GET', '/');

    $this->assertEquals(200, $response->getStatusCode());
}
Tschallacka
lehel
lehel

Thanks, Where can i get for this a documentation or tutorial? I didn't find it. I want to test an URL call. I tried the above example but didn't work. Do you have any idea why?

Last updated

dshoreman
dshoreman

This stuff is apparently already in the core, so you might not need the github repo. Speak to Lucas[keios] on IRC and he'll probably be able to help.

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.