Commit Graph

10 Commits

Author SHA1 Message Date
Bruno Pinto
5e2f42c3b4 Closes #322: rename to-(not-)contain to to-(not-)contain-all 2015-01-17 13:32:19 -02:00
Bruno Pinto
9a7292ac9d fail tests when using an invalid comparison 2015-01-17 13:32:19 -02:00
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.
2015-01-17 13:46:44 +09:00
Bruno Pinto
68b8546ce8 expect --to-not-contain tests and fix 2015-01-14 22:47:28 -02:00
Bruno Pinto
081f3f5b25 allow --to-contain to receive an array, and check each item individually 2015-01-13 21:41:17 -02:00
Bruno Pinto
bce3fff175 --to-be-false and --to-be-true expectations 2015-01-13 21:22:29 -02:00
Jorge Bucaran
125f8d43c8 Subsequent tests should run if one test fails. 2015-01-13 19:16:48 -02:00
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.
2015-01-14 02:22:07 +09:00
Bruno Pinto
e0bb27831d naiive to_not_include implementation 2015-01-10 15:36:57 -02:00
Bruno Pinto
7c9d660f2c tests using fish-spec 2015-01-10 04:12:03 -02:00