Skip to content

Commit 6beb142

Browse files
committed
fix: rename acceptance/bastunit.sh add _test suffix
1 parent fcbd215 commit 6beb142

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

tests/acceptance/bashunit.sh renamed to tests/acceptance/bashunit_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/bash
2+
set -euo pipefail
23

34
function set_up_before_script() {
45
TEST_ENV_FILE="tests/acceptance/fixtures/.env.default"
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
bashunit [arguments] [options]
2+
3+
Arguments:
4+
Specifies the directory or file containing the tests to run.
5+
If a directory is specified, it will execute the tests within files ending with test.sh.
6+
If you use wildcards, bashunit will run any tests it finds.
7+
8+
Options:
9+
-a|--assert <function ...args>
10+
Run a core assert function standalone without a test context.
11+
12+
-e|--env <file-path>
13+
Load a custom env file overriding the .env environment variables.
14+
15+
-f|--filter <filter>
16+
Filters the tests to run based on the test name.
17+
18+
-l|--log-junit <out.xml>
19+
Create a report JUnit XML file that contains information about the test results.
20+
21+
-r|--report-html <out.html>
22+
Create a report HTML file that contains information about the test results.
23+
24+
-s|simple || -v|verbose
25+
Enables simplified or verbose output to the console.
26+
27+
-S|--stop-on-failure
28+
Force to stop the runner right after encountering one failing test.
29+
30+
--version
31+
Displays the current version of bashunit.
32+
33+
--upgrade
34+
Upgrade to latest version of bashunit.
35+
36+
--help
37+
This message.
38+
39+
See more: https://bashunit.typeddevs.com/command-line

0 commit comments

Comments
 (0)