This commit is contained in:
kindlm
2016-09-30 16:32:57 +02:00
parent 059b8d19cb
commit 70fd4a4dea
16 changed files with 50 additions and 45 deletions
@@ -0,0 +1,21 @@
# Codeception Test Suite Configuration
# suite for acceptance tests.
# perform tests in browser using the WebDriver or PhpBrowser.
# If you need both WebDriver and PHPBrowser tests - create a separate suite.
class_name: AcceptanceTester
modules:
enabled:
- Db
- PhpBrowser:
url: 'http://admin:1q2w3@demo.fhcomplete.org/'
config:
Db:
dsn: 'pgsql:host=localhost;port=5432;dbname=fhctest'
user: 'fhcomplete'
password: 'fhcomplete'
dump: _data/dump.sql
populate: true
cleanup: false
reconnect: false
@@ -0,0 +1,6 @@
<?php
$I = new AcceptanceTester($scenario);
$I->wantTo('CIS Startseite Testen');
//$I->amOnPage('/cis/index.html');
//$I->see('Powered by FH Complete');
?>
@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests
@@ -0,0 +1,10 @@
# Codeception Test Suite Configuration
# suite for functional (integration) tests.
# emulate web requests and make application process them.
# Include one of framework modules (Symfony2, Yii2, Laravel4) to use it.
class_name: FunctionalTester
modules:
enabled:
- Filesystem
@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests
@@ -0,0 +1,7 @@
# Codeception Test Suite Configuration
# suite for unit (internal) tests.
class_name: UnitTester
modules:
enabled:
- Asserts
@@ -0,0 +1,2 @@
<?php
// Here you can initialize variables that will be available to your tests