Skip to content

Commit

Permalink
Add custom run_tests.bash to run Pest test framework
Browse files Browse the repository at this point in the history
  • Loading branch information
maks-rafalko committed May 3, 2021
1 parent 83d42b7 commit 16694e2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/e2e/PestTestFramework/run_tests.bash
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

readonly INFECTION="../../../bin/infection --test-framework=pest"

set -e pipefail

if [ "$DRIVER" = "phpdbg" ]
then
phpdbg -qrr $INFECTION
else
php $INFECTION
fi

diff -w expected-output.txt infection.log

0 comments on commit 16694e2

Please sign in to comment.