PHPUnit proof of concept

This commit is contained in:
Shish
2015-08-09 12:14:28 +01:00
parent e3959e5ec8
commit 9af5995dcc
64 changed files with 366 additions and 416 deletions

View File

@ -1,11 +1,12 @@
<?php
class HomeTest extends ShimmieWebTestCase {
class HomeTest extends ShimmiePHPUnitTestCase {
function testHomePage() {
$this->get_page('home');
$this->assert_title('Shimmie');
$this->assert_text('Shimmie');
// FIXME: this page doesn't use blocks; need assert_data_contains
//$this->assert_title('Shimmie');
//$this->assert_text('Shimmie');
# FIXME: test search box
}
}