Commit Graph

20 Commits (2a8d8ba540d70c51c9822f106bead74d496f80eb)

Author SHA1 Message Date
Noah Gorny f2bff34493
Merge pull request #2013 from gaelicWizard/completion/system
completion/system: load earlier than others
2022-01-09 01:13:23 +02:00
John D Pell e7c3263f12 completion/system: load earlier than other completions
I chose `325` so that it's still possible to deliberately place something *before* this component, if needed somehow.
2022-01-08 08:33:16 -08:00
John D Pell 9dcbeec7ad tests: test_helper already loads `composure.sh`
...and `cite()`s metadata
2022-01-08 08:29:13 -08:00
buhl 49d7d2e8c4 Getting Bash-it to use the vendored composure
Fixed tests
Fixed install.sh and bash_it.sh
Added gitattributes to the vendor folder
Changed documentation
2021-02-02 16:34:04 +01:00
egvimo 3019dc331d
Add option to append template to existing config (#1723)
* Add option to append template to existing config

* Add test for append-to-config option

Co-authored-by: Egor Moor <egor.moor@edag-ps.com>
2020-12-11 16:32:23 +02:00
Nils Winkler 818a95d79c
Refactored test setup code
Removed the copy/paste code, moved it into a reusable function that can
be called from the `local_setup` function as needed. Also simplified the
handling of the $HOME variable since @rico-chet provided a better way of
doing this.
2020-04-21 08:25:40 +02:00
Nils Winkler 34993f5da3
Excluding enabled directory when setting up test fixtures 2020-04-21 08:25:40 +02:00
Nils Winkler 3093273425
Updated rsync command to work with latest version of bats-core 2020-04-21 08:25:39 +02:00
Nils Winkler 80e510d65b Added assert_link_exist function and use that 2017-10-14 18:02:04 +02:00
Nils Winkler e574de8f47 Moved testing for files to bats-file library functions 2017-10-14 18:02:04 +02:00
Nils Winkler 8319545b0a Switched to Bats-core as a submodule
Can't use the official v0.4.0 release, since our tests rely on a change
that was made after the release of v0.4.0.

This code currently uses an unversioned commit of the bats-core repo, we
will switch to a supported version once it has been released, e.g.
v0.4.1.
2017-10-14 18:00:43 +02:00
Nils Winkler 9e99c8cb3d Adjust install test case 2017-09-17 21:05:57 +02:00
Nils Winkler 2a16a5cd68 Change install setup to use rsync instead of cp 2017-09-17 21:05:57 +02:00
Nils Winkler cb46960717 Removing enabled components before running tests 2017-06-24 17:31:30 +02:00
Nils Winkler eb9a15f435 Added test cases for uninstall script 2017-06-24 17:31:30 +02:00
Nils Winkler 43b62b344a Added test case for silent/interactive combo 2017-06-24 17:31:30 +02:00
Nils Winkler 1ace0b7a89 Checking for backup file creation 2017-06-24 17:31:30 +02:00
Nils Winkler 12ed1b79d3 Check for enabled components after install 2017-06-24 17:31:30 +02:00
Nils Winkler b95fd6fdce Checking config file per OS type 2017-06-24 17:31:30 +02:00
Nils Winkler 6ce9403be0 Started writing tests for the install script 2017-06-24 17:31:30 +02:00