Skip to content

Commit

Permalink
Acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daanrijpkemacb committed Nov 25, 2023
1 parent 4493607 commit 2127b86
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
12 changes: 12 additions & 0 deletions codeception.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
namespace: Tests
support_namespace: Support
paths:
tests: tests
output: tests/_output
data: tests/Support/Data
support: tests/Support
envs: tests/_envs
actor_suffix: Tester
extensions:
enabled:
- Codeception\Extension\RunFailed
24 changes: 24 additions & 0 deletions tests/Acceptance/FirstCest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?php


namespace Tests\Acceptance;

use Tests\Support\AcceptanceTester;

class FirstCest
{
public function _before(AcceptanceTester $I)
{
}

public function frontpageWorks(AcceptanceTester $I)
{
$I->amOnPage('/');
$I->see('Home');
}

// tests
public function tryToTest(AcceptanceTester $I)
{
}
}

0 comments on commit 2127b86

Please sign in to comment.