Commit Graph

11 Commits (649746030975ba627de4591e6572ac8869ee2e9f)

Author SHA1 Message Date
Bruno Pinto fcc15fc16b allow debugging messages to be echoed inside a test 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
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
Bruno Pinto 68b8546ce8 expect --to-not-contain tests and fix 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 e0bb27831d naiive to_not_include implementation 10 years ago
Bruno Pinto 7c9d660f2c tests using fish-spec 10 years ago