Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
with:
with-chart: false
with-table: true
with-branches: false
table-coverage-change: true
show-percentage-change-on-table: true
file: gh_reports/coverage/pr_report_clover.xml
Expand Down
5 changes: 5 additions & 0 deletions src/Exads/Repos/Repo.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ public function getString4(): string
return "string 4";
}

public function getString5(): string
{
return "string 5";
}

}
5 changes: 5 additions & 0 deletions src/Exads/Repos/Repo2.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,9 @@ public function getString(): string
return "string 1";
}

public function getString2(): string
{
return "string 2";
}

}
18 changes: 18 additions & 0 deletions test/Exads/Test/Repos/RepoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,22 @@ public function getString3MustReturnString(): void
$r = new Repo();
$this->assertEquals("string 3", $r->getString3());
}

/**
* @test
*/
public function getString4MustReturnString(): void
{
$r = new Repo();
$this->assertEquals("string 4", $r->getString4());
}

/**
* @test
*/
public function getString5MustReturnString(): void
{
$r = new Repo();
$this->assertEquals("string 5", $r->getString5());
}
}