Commit Graph

234 Commits (476fa278b5140952db2fdad30ba7065e8c049971)

Author SHA1 Message Date
Jorge Bucaran d7366e9466 seq call in getopts should specify negative step 10 years ago
Jorge Bucaran f397152128 fish getopts plugin 10 years ago
Bruno Pinto 99ea3a6989 simplifying expect tests 10 years ago
Bruno Pinto b825216053 removing flaky bak tests 10 years ago
Felix Sonntag 39f54c2805 osx plugin: Updated description implementation, improved argument checking 10 years ago
Felix Sonntag d4acc8148a osx plugin: added descriptions, split up files, minor changes 10 years ago
Felix Sonntag 98a8283511 added osx plugin 10 years ago
Bruno Pinto 80ed2cf0f0 attempt to decrease bak flakiness 10 years ago
Bruno Pinto fcc15fc16b allow debugging messages to be echoed inside a test 10 years ago
Bruno Pinto 5c81cfbffd more tests for the fish-spec suite 10 years ago
Bruno Pinto 5e2f42c3b4 Closes #322: rename to-(not-)contain to to-(not-)contain-all 10 years ago
Bruno Pinto 9a7292ac9d fail tests when using an invalid comparison 10 years ago
Bruno Pinto 4b8b4b91bf improves text of tests 10 years ago
Bruno Pinto a90680fd24 enabling spec.spec.fish suite 10 years ago
Jorge Bucaran 3021402525 ⌁ Update Fish-Spec ⌁
+ Add fish eval fix See #fish-shell/pull/1892
+ New and improved output system with colors, etc.
+ Support for multiple non-nested describe blocks.
+ Remove spec.log and favor `msg` plugin and standard echo.
+ `spec.eval` no longer evaluates multiple functions, acting now as a simplified
  router between the view `spec.view` and the controller `spec.run`.
+ Add new `spec.view` to act as a hub for all test output.
+ Add report with passed/failed tests to `spec.view`
+ Now test descriptions are used directly from the function name. Description
  fields are now optional.
10 years ago
Tobias Johansson 60b17c9c70 peco_select_history can take initial query 10 years ago
Bruno Pinto 55b6a97b9e expect --to-be-false tests 10 years ago
Bruno Pinto cb3ce0317a expect --to-be-true tests 10 years ago
Bruno Pinto 68b8546ce8 expect --to-not-contain tests and fix 10 years ago
Bruno Pinto ee23d58951 expect --to-contain tests 10 years ago
Bruno Pinto 4b93c37959 expect --to-equal tests 10 years ago
Bruno Pinto 04d61303a8 fix test assertion 10 years ago
Bruno Pinto 8bf09e807e Fixes bak assertions 10 years ago
Bruno Pinto f5654b0ed4 converting bak plugin tests to fish-spec 10 years ago
Bruno Pinto 081f3f5b25 allow --to-contain to receive an array, and check each item individually 10 years ago
Bruno Pinto bce3fff175 --to-be-false and --to-be-true expectations 10 years ago
Jorge Bucaran 125f8d43c8 Subsequent tests should run if one test fails. 10 years ago
Jorge Bucaran 63fd25dacb ❯❯❯ Complete overhaul of brand new Oh-My-Fish test framework.
+ Add documentation and examples.
+ Add new functions to interact with the framework:
  + spec.eval - eval a function by name and echo its description field
  + spec.functions - prints functions currently in scope that match the key glob
  + spec.log - log a message / test result
  + spec.run - run suite of tests
+ Rename list.erase to erase.
10 years ago
Bruno Pinto 64ea3d8002 list.erase test 10 years ago
Bruno Pinto e0bb27831d naiive to_not_include implementation 10 years ago
Jorge Bucaran 235bcf783e Rename array.delete.fish file to list.erase.fish 10 years ago
Jorge Bucaran 29d117e7ce + Rename `array.delete` to `list.erase` to better suit Fish terminology.
+ Extend to support any number of items and/or lists.
+ Add --from option.
10 years ago
Bruno Pinto f34f114018 testing plugin load from custom folder 10 years ago
Bruno Pinto 75ba7639a9 +bucaran array.delete 10 years ago
Bruno Pinto 7c9d660f2c tests using fish-spec 10 years ago
Bruno Pinto 6363714647 removing obsolete plugin sprunge 10 years ago
Jorge Bucaran c76ce97d03 Add ability to escape -s and -n options using a backslash.
Add notes in comments about escaping.
10 years ago
Jorge Bucaran 2542929eb9 Separate msg utility functions into their own file:
+ msg.util.get.color.fish
  + msg.util.random.color.fish
  + msg.util.set.color.fish
  + msg.util.str.get.fish
  + msg.util.str.has.fish
10 years ago
Jorge Bucaran 8e02073145 Add msg plugin. The technicolor message printer.
+ Print messages with style and color easily. Supported styles below:

     _text_                 Bold
     __text__               Underline
     ___text___             Bold and Underline
     `$variable`            Apply @<styles> to $variables
     /directory/            Directories
     [url]                  Links
     \n                     Line Break
     \t                     Tab Space

 + Recognizes 256 different color names and special @random @light @dark @error and @success labels.
 + Included also is `msg.ask` to print a message with `msg` and wait for y/n input. Returns true on y\*.
10 years ago
Charles B Johnson 3ba9a50bee Fix issue where some rbenv commands would fail (shell, rehash).
Use rbenv fish integration, if available.

Fix rbenv "supports fish" logic.
10 years ago
Daniel Mijares 228b9c5e34 removing `-e` tests when cheking for `-f` or `-d`
adding local variable flag and setting the variable if java home isn't
taken care of in the first if check.

For some reason there were different tab widths for this bottom
section, unifying to what the top was at -- 2 spaces.
10 years ago
Daniel Mijares efa2746e45 silly mistake, forgot this is a soft link and needed to follow the link 10 years ago
Daniel Mijares e0ae3a7db4 plugin was lacking setting {}_HOME variables for all gvm installed
binaries, this fixes that.

This also sets JAVA_HOME (only tested on OSX).
10 years ago
Daniel Mijares 0bac44ceda cask plugin to add cask to $PATH 10 years ago
Bruno Pinto 30327ff522 brew plugin was not calculating the number of paths to ignore correctly 10 years ago
Bruno Pinto 494855b8a5 sending deprecation message to stderr 10 years ago
Wild Kat 1a18186cca changed code indent to 2 spaces for consistency 10 years ago
Wild Kat bafb64147c Eliminate superficial whitespaces in ssh plugin 10 years ago
Wild Kat c761f9442c Added documentation link for ssh helper plugin and further cleanup 10 years ago
JP Viljoen ad63831b8f [ssh plugin] 256-colour helper stuff 10 years ago