Commit Graph

672 Commits

Author SHA1 Message Date
Bruno Pinto
9a7292ac9d fail tests when using an invalid comparison 2015-01-17 13:32:19 -02:00
Bruno Pinto
4b8b4b91bf improves text of tests 2015-01-17 13:02:28 -02:00
Bruno Pinto
0bfb95a504 run tests from correct branch on travis 2015-01-17 03:12:44 -02:00
Bruno Pinto
a90680fd24 enabling spec.spec.fish suite 2015-01-17 03:03:40 -02:00
Bruno
60691b028a Merge pull request #326 from bucaran/bucaran-fish-spec
bucaran-fish-spec
2015-01-17 03:02:03 -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
3621126b65 Merge pull request #327 from bpinto/forgot_to_change_installer
changing installer to use travis ci env vars
2015-01-17 02:27:28 -02:00
Bruno Pinto
bd22c3757c changing installer to use travis ci env vars 2015-01-17 02:24:23 -02:00
Bruno
123b5d1bd4 Merge pull request #324 from bpinto/run_tests_from_correct_repo_on_travis
run tests from correct repo on travis
2015-01-17 01:09:19 -02:00
Bruno Pinto
344fbb4f36 run tests from correct repo on travis 2015-01-17 01:05:54 -02:00
Bruno
05b428ed65 Merge pull request #320 from tobias-johansson/master
Enable peco plugin to take current commandline as query
2015-01-16 12:30:18 -02:00
Tobias Johansson
60b17c9c70 peco_select_history can take initial query 2015-01-16 09:01:28 +01:00
Bruno Pinto
55b6a97b9e expect --to-be-false tests 2015-01-14 22:56:49 -02:00
Bruno Pinto
cb3ce0317a expect --to-be-true tests 2015-01-14 22:55:12 -02:00
Bruno Pinto
68b8546ce8 expect --to-not-contain tests and fix 2015-01-14 22:47:28 -02:00
Bruno Pinto
ee23d58951 expect --to-contain tests 2015-01-14 22:16:14 -02:00
Bruno Pinto
4b93c37959 expect --to-equal tests 2015-01-14 21:56:46 -02:00
Bruno Pinto
04d61303a8 fix test assertion 2015-01-14 09:14:45 -02:00
Bruno
53693cdaf3 Merge pull request #318 from bpinto/fix-bak-assertions
Fixes bak assertions
2015-01-14 09:13:18 -02:00
Bruno Pinto
8bf09e807e Fixes bak assertions 2015-01-14 09:11:46 -02:00
Bruno
c9e22789d5 Merge pull request #311 from bpinto/modifying_bak_plugin_tests_to_use_fish_spec
Modifying bak plugin tests to use fish spec
2015-01-14 00:02:51 -02:00
Bruno Pinto
f5654b0ed4 converting bak plugin tests to fish-spec 2015-01-14 00:00:28 -02:00
Bruno
465e325abd Merge pull request #308 from bucaran/fix-prepend-tree-299
Do not add test/spec files to function path in _prepend_tree.
2015-01-13 23:39:20 -02:00
Jorge Bucaran
4875576761 Do not add test/spec files to function path via skip glob in import. 2015-01-14 10:34:21 +09:00
Jorge Bucaran
912315ba69 Do not add test/spec files to function path in _prepend_tree. 2015-01-14 10:34:21 +09: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
Bruno Pinto
9d889f509b Merge pull request #310 from bucaran/stop-test-continue-suite 2015-01-13 19:16:59 -02:00
Jorge Bucaran
125f8d43c8 Subsequent tests should run if one test fails. 2015-01-13 19:16:48 -02:00
Bruno
5f92c0446c Merge pull request #309 from bucaran/reload-and-exit-ok
Make sure to exit with 0 of 1 when reloading the framework
2015-01-13 17:41:00 -02:00
Jorge Bucaran
b56017e3f2 Add reload framework test case to oh-my-fish.spec 2015-01-14 04:23:37 +09:00
Jorge Bucaran
25d45b29c5 Make sure to exit with 0 of 1 when reloading the framework 2015-01-14 03:35:42 +09:00
Bruno
ed87414b51 Merge pull request #306 from bpinto/run_plugins_tests_on_travis
run all tests, including plugins tests, on travis
2015-01-13 15:44:33 -02:00
Bruno Pinto
4d1e85fbe0 run all tests, including plugins tests, on travis 2015-01-13 15:41:16 -02:00
Bruno
4fba87434c Merge pull request #304 from bpinto/travis-badge
Adding travis badge
2015-01-13 15:31:19 -02:00
Jorge Bucaran
09e6da27e2 Fix boostrap/script to oh-my-fish.spec.fish 2015-01-13 15:29:39 -02:00
Bruno Pinto
a32cd3fdd9 README cosmetics 2015-01-13 15:29:39 -02:00
Bruno Pinto
beda636406 travis badge 2015-01-13 15:29:39 -02:00
Bruno Pinto
e7afb310a4 removing bucaran fork 2015-01-13 15:29:39 -02:00
Bruno
51a4e4decf Merge pull request #303 from bucaran/fish-spec
❯❯❯ Complete overhaul of brand new Oh-My-Fish `fish-spec` test framework.
2015-01-13 15:25:40 -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
1f9a51c3f6 Merge pull request #302 from bucaran/travis
Add travis support via .travis.yml and bash bootstrap script.
2015-01-13 13:35:04 -02:00
Jorge Bucaran
0aa8af477a Add travis support via .travis.yml and bash bootstrap script 2015-01-13 21:02:00 +09:00
Bruno Pinto
bb467f75ac remove double slash 2015-01-12 16:36:29 -02:00
Bruno
143cc10c42 Merge pull request #300 from bucaran/improve-install
Improve install.fish
2015-01-12 16:34:00 -02:00
Jorge Bucaran
05f3ecdfec Add support for:
+ Non-interactive terminals, e.g., skip launching fish when
    running tests automated, etc.
  + Non-git-based installations. If git is not found, download
    via curl HTTP GET download request.
  + Installing forks of the framework.
Also:
  + Improve documentation.
  + Fix bug in un escaped backslash causing incorrect syntax
    coloring after the ASCII fish logo.
2015-01-13 03:26:37 +09:00
Bruno Pinto
626deaf135 Merge pull request #294 from lvicentesanchez/master 2015-01-10 18:23:22 -02:00
Luis Angel Vicente Sanchez
49821054db Update README.md 2015-01-10 18:23:18 -02:00
Luis Angel Vicente Sanchez
060110d859 * add README.md 2015-01-10 18:23:17 -02:00
Luis Angel Vicente Sanchez
15eef514ca * fix git prompt. 2015-01-10 18:23:17 -02:00