Skip to content

Commit 1f9957d

Browse files
committed
Better bats instructions
1 parent a730390 commit 1f9957d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

spec/lib/ansible/runner_execution_spec.bats

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,17 @@
44
# that the real installation is working as expected. It is a duplicate of the tests
55
# in runner_execution_spec.rb but without the rspec and rspec-rails overhead.
66
#
7-
# This test requires the Bats test framework to be installed
7+
# These tests should be run on an appliance or container using
8+
#
9+
# bin/test_ansible_runner_execution
10+
#
11+
# which will setup the Bats test framework, plugins, and ensure the test files
12+
# are present. This can also be used to run locally, but if you prefer to
13+
# install Bats and the plugins yourself, you can do the following manually:
14+
#
815
# macOS: brew install bats-core
916
# appliance: dnf install bats
10-
# as well as the bats-support and bats-assert plugins installed
17+
#
1118
# git clone https://github.com/bats-core/bats-support ~/.bats/libs/bats-support
1219
# git clone https://github.com/bats-core/bats-assert ~/.bats/libs/bats-assert
1320

0 commit comments

Comments
 (0)