Skip to content

Commit

Permalink
Create a simple behat test runner
Browse files Browse the repository at this point in the history
  • Loading branch information
MKodde committed Jan 16, 2024
1 parent 9685ce9 commit 3eece65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 7 additions & 0 deletions stepup/tests/behat/behat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

# A convenience script to run the behat tests with the correct config
# For now the only feature is that it pipes on any argument provided
# to the script, into the behat command

./vendor/bin/behat --config config/behat.yml $1
4 changes: 3 additions & 1 deletion stepup/tests/behat/config/behat.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
default:
autoload:
- '%paths.base%/../features/bootstrap/'

formatters:
progress:
paths: false
suites:
default:
paths:
Expand Down

0 comments on commit 3eece65

Please sign in to comment.