Commit Graph

83 Commits (5ff873e0582dc40c72911cff9f86d1cbb030256b)

Author SHA1 Message Date
Nils Winkler 5ff873e058 Fixed "bash-it help aliases" cases, more to come... 2017-09-17 21:05:58 +02:00
Nils Winkler 298b9c6455 Added test case for completion "help aliases v" 2017-09-17 21:05:58 +02:00
Nils Winkler 688d0cb540 Some more test cases 2017-09-17 21:05:58 +02:00
Nils Winkler 05696df361 Additional test cases for completions with dashes and dots 2017-09-17 21:05:58 +02:00
Nils Winkler ec327486ef Checking global directory for completions as well 2017-09-17 21:05:58 +02:00
Nils Winkler a925f5d58c Checking for global directory when looking for components that are not enabled 2017-09-17 21:05:58 +02:00
Nils Winkler 7a3603f80d Sorting compgen output so that the returned values are in ascending order 2017-09-17 21:05:58 +02:00
Nils Winkler e7298a5303 Fixed case where nothing was enabled 2017-09-17 21:05:58 +02:00
Nils Winkler adb2f1071f Added tests for completion results with various file locations and names 2017-09-17 21:05:58 +02:00
Nils Winkler b31c7a0afa Refactored completion check into a reusable function 2017-09-17 21:05:58 +02:00
Nils Winkler 3e9c5655b1 Added xargs fix to some more wc -l invocations
Calling `xargs` removes any leading whitespace, which is introduced by
the macOS version of `wc`. See
https://stackoverflow.com/a/12973694/1228454 for more info.
2017-09-17 21:05:58 +02:00
Nils Winkler a4c6a1aaed Added first tests for Bash-it completion script 2017-09-17 21:05:58 +02:00
Nils Winkler 6981fa091d Add tests for bash_it.sh script 2017-09-17 21:05:58 +02:00
Nils Winkler d798bb8f06 Change test prefixes to match file name 2017-09-17 21:05:58 +02:00
Nils Winkler e53b5dc96e Add some TODO items 2017-09-17 21:05:58 +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 9f3ef22538 Describe function supports new directory structure 2017-09-17 21:05:57 +02:00
Nils Winkler 9080f0e869 Add more tests for migration scenario 2017-09-17 21:05:57 +02:00
Nils Winkler 2b778ccbba Fix disable/migrate test case 2017-09-17 21:05:57 +02:00
Nils Winkler fd686cc2ae Fix one more path 2017-09-17 21:05:57 +02:00
Nils Winkler f72691fe85 Fix some more migration test cases 2017-09-17 21:05:57 +02:00
Nils Winkler 2ac08cae0f Fix one migration case 2017-09-17 21:05:57 +02:00
Nils Winkler 6fa235a825 Start work on migration to global directory 2017-09-17 21:05:57 +02:00
Nils Winkler e705e6c60f Check for link target 2017-09-17 21:05:57 +02:00
Nils Winkler 5f3627b9b7 Change the enable/disable functions to use the global directory 2017-09-17 21:05:57 +02:00
Nils Winkler b106d275a7 Move enable/disable functionality to global enabled directory 2017-09-17 21:05:57 +02:00
Yushin Washio a4472fedaa skip ruby PATH test if ruby not installed 2017-08-17 17:33:56 +05:00
Nils Winkler 2581abdf54 Fix some issues that showed the todo.txt-cli aliases in the wrong way 2017-06-24 17:31:31 +02:00
Nils Winkler 94e68b96b5 Fix migration of todo.txt-cli component 2017-06-24 17:31:31 +02:00
Nils Winkler fc4ce80329 Add tests for enabling multiple plugins at the same time 2017-06-24 17:31:31 +02:00
Nils Winkler 1068e7916b Add tests for enabling aliases and completions 2017-06-24 17:31:31 +02:00
Nils Winkler 87270c2962 Copy all of Bash-it during the helper tests 2017-06-24 17:31:31 +02:00
Nils Winkler b55c0251ed Add tests for base theme's battery functions 2017-06-24 17:31:31 +02:00
Nils Winkler 0aad8b4ab0 Fixed assert syntax 2017-06-24 17:31:31 +02:00
Nils Winkler 951fe918c0 Automatically running migration command when enabling/disabling components 2017-06-24 17:31:30 +02:00
Nils Winkler 1e624113a7 Refactored search test cases to use the assert functions 2017-06-24 17:31:30 +02:00
Nils Winkler cb46960717 Removing enabled components before running tests 2017-06-24 17:31:30 +02:00
Nils Winkler 2607bb815a Avoid polluting the user's Bash-it installation
All of the install steps are done in a test directory
2017-06-24 17:31:30 +02:00
Nils Winkler 6ff4071646 Fixed test execution that only checked for plugins starting with 2 2017-06-24 17:31:30 +02:00
Nils Winkler dc7173b7ef Using xargs to remove leading spaces
Found here: http://stackoverflow.com/a/12973694/1228454
2017-06-24 17:31:30 +02:00
Nils Winkler bf632e19fc Refactored tests to use helper assert functions 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
Nils Winkler e112eb43a0 Using local setup/teardown functions 2017-06-24 17:31:30 +02:00
Nils Winkler 9eb10c266b Added support for local setup/teardown functions 2017-06-24 17:31:30 +02:00