forked from sstephenson/bats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add setup_file and teardown_file
note: most of this was merged under bats-core/bats-core#246 - Avoid messing with internal variable BATS_ROOT - Don't let teardown errors stop exit output - add helpers in lib/bats-core and add to install - Move parallelization into exec-file but parallelize across files - allow for preserving environment when running in parallel - Unify output into bats run specific tmp dir - Validate the test count in bin/bats: This tests what is actually written and not what we wanted to run. The latter is even more problematic in the parallel test cases, as we can't easily retrieve the count from the subshells. - add devcontainer for simplified development in VS Code containers - Cleanup for shellcheck - Cleanup BATS_RUN_TMPDIR after run: this should avoid colissions between successive runs Error when the run dir is reused
- Loading branch information
1 parent
805650e
commit 10b0daf
Showing
5 changed files
with
17 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ done < <( | |
) | ||
|
||
LC_ALL=C.UTF-8 shellcheck "${targets[@]}" | ||
|
||
exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters