Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Gist do post "Testes no Codeigniter com CIUnit" no meu blog Link:http://willmendesnetoprojects.wordpress.com/2013/02/21/testes-no-codeigniter-com-ciunit/
<?php
class VerificationTests extends CIUnit_TestCase {
/**
* Conteúdo que vai acontecer no início dos testes
* @return void
*/
public function setUp(){
parent::setUp();
parent::tearDown();
}
/**
* Teste para verificar o CIUnit está rodando corretamente
* @return void
*/
public function test_CIUnitIsRun(){
$boolean = TRUE;
$this->assertTrue($boolean);
$this->assertEquals($boolean, TRUE);
}
/**
* Conteúdo que vai rodar no término do teste
* @return void
*/
public function tearDown(){
// Insira aqui o conteúdo
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment