Commit graph

147 commits

Author SHA1 Message Date
Spencer Alger 32aa75712b broke courier tests into many smaller pieces, and setup tests as children of other suites so that we can use mocha's 'grep' functionality more predictably 2014-03-07 10:27:19 -07:00
Spencer Alger 64a4f46d40 courier tests 2014-03-06 17:58:10 -07:00
Spencer Alger e2b8625dbf added 'maybe_start_server' grunt task that will ping to see if a kibana dev server is running, and start one if not. Allows us to run the unit tests via npm test when grunt dev is already running. 2014-03-06 17:37:43 -07:00
Spencer Alger 67dc27511a tracked down XHR requests that the tests were cuasing, included some nextTick into the callback handling, tests should be passing properly now 2014-03-06 17:35:08 -07:00
Spencer Alger aa18485f16 noticed nextTick related errors in mapper tests while investigating a rouge XHR call that is happening 2014-03-06 17:10:26 -07:00
Spencer Alger f916010212 fixed jshint issue in mapper tests 2014-03-06 16:36:56 -07:00
Spencer Alger 7fbe8e1ef7 added ability to link to a line number in the coverage report 2014-03-06 16:36:19 -07:00
Rashid Khan cfd921da1b Add mapping tests 2014-03-06 15:41:36 -07:00
Rashid Khan 8cab092d43 Updated method for getting the courier index 2014-03-06 15:41:20 -07:00
Rashid Khan fc28bccd65 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:53:25 -07:00
Spencer Alger 8fc7182305 copy over properties on overwritten methods 2014-03-06 14:50:19 -07:00
Rashid Khan d5ec4ba266 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:45:52 -07:00
Spencer Alger 4993386e3a added modify step to the auto-release sinon wrapper 2014-03-06 14:45:20 -07:00
Rashid Khan 5a501032a9 Merge remote-tracking branch 'upstream/master' 2014-03-06 14:43:48 -07:00
Rashid Khan 3b3d9209f9 More mapper tests 2014-03-06 14:43:42 -07:00
Rashid Khan c64a7167ee Update errors to new error syntax 2014-03-06 14:43:24 -07:00
Rashid Khan d89c25ff35 remove test from default task 2014-03-06 14:43:07 -07:00
Spencer Alger 8ae8f95033 added auto-releasing sinon util 2014-03-06 14:39:37 -07:00
Spencer Alger 78580c1847 setup module was not using the module service, now it is and is removeing it self form the module internal list using module.close() 2014-03-06 12:44:22 -07:00
Spencer Alger d7094d5d6c prevent all files from being instrumented 2014-03-06 11:41:01 -07:00
Spencer Alger 219bd6753c allow grepping of the coverage report 2014-03-06 11:22:27 -07:00
Spencer Alger a8ab11bbd0 modules util now provides a method for modules to 'subscribe' to it's know modules 2014-03-06 11:21:17 -07:00
Spencer Alger 7be4d61b96 Fixed the test, which required a bit of dependency mapping. Fixed '/' redirect. query string's don't need =true to work. 2014-03-05 22:08:22 -07:00
Spencer Alger a8588eaec1 fixed some references that I missed 2014-03-05 18:36:05 -07:00
Spencer Alger 93a44f2668 rather than creating modules explicitly, it is done on demand by the modules util. This allows tests to load modules without needing to load the actual kibana app 2014-03-05 17:23:35 -07:00
spenceralger 0d539001ed Merge pull request #18 from spenceralger/master
Implemented code coverage
2014-03-05 17:02:28 -07:00
Spencer Alger 6a8f9dddab added code coverage and couple other things. 2014-03-05 16:56:42 -07:00
Spencer Alger 80922cc5e6 jade task only prepares the "files" template var for templates in the unit test dir and ignores .jade files who's filename start with an underscore.
watch:test only watches the test's js files and runs the tests when they change.
2014-03-05 14:13:23 -07:00
Spencer Alger cb9c9a4d81 allow expernal code to get a list of sources that the are courier considers open, without having to access internal properties 2014-03-05 14:08:01 -07:00
Spencer Alger f5ba7bcdda modified testing dir jshint rules to use 'white' formatting, and fixed style issues 2014-03-05 14:06:10 -07:00
Spencer Alger 534dcf789a test status on the readme [ci skip] 2014-03-04 11:58:10 -07:00
Spencer Alger 5b9d739036 updated jshint config to use 'node: true' at the root of the project, and switch to 'node: false' within the test and src dirs 2014-03-04 11:54:56 -07:00
Rashid Khan 13baa44e98 Add click-to-edit dashboard title 2014-03-04 11:44:34 -07:00
Rashid Khan 43f1a315bb Add first tests for dashboard controller 2014-03-04 10:05:08 -07:00
Rashid Khan cf27276a6d Added angular-mocks 2014-03-04 10:04:47 -07:00
Rashid Khan d6bae3c00c Merge remote-tracking branch 'upstream/master' 2014-03-03 15:27:23 -07:00
Rashid Khan f61de59617 Add angular-mocks, set angular version to 1.2.14 2014-03-03 15:27:04 -07:00
Rashid Khan e51e86aeb9 Upgrade angular to 1.2.15 2014-03-03 15:24:11 -07:00
Rashid Khan aa1d7938db Load dashboard based on route 2014-03-03 15:23:33 -07:00
Spencer Alger 17e30c7483 Added grunt-cli dev dependency 2014-03-03 15:03:13 -07:00
Spencer Alger cf0fdf40d2 included travis config file 2014-03-03 14:59:39 -07:00
Spencer Alger 8442ac301c added jshint to the grunt config files as well as the test files. 2014-03-03 14:57:47 -07:00
Rashid Khan d5ae35c3ad Merge remote-tracking branch 'upstream/master' 2014-03-03 14:47:27 -07:00
Rashid Khan 6ce12dd953 Added missing bower components to bower.json 2014-03-03 14:47:07 -07:00
Spencer Alger df6e6b4d55 infinite scroll is now much smoother 2014-03-03 14:06:01 -07:00
spenceralger 3f2211a763 Merge pull request #17 from spenceralger/discover_crud
Added kbnInfiniteScroll and kbnTruncated
2014-02-28 15:59:48 -07:00
Spencer Alger c027199e03 Added kbnInfiniteScroll and kbnTruncated 2014-02-28 15:55:42 -07:00
Rashid Khan e6cd1a5bbb Added type-to-filter to dashboard loading pulldown 2014-02-28 14:44:32 -07:00
Rashid Khan cc0798f696 Merge remote-tracking branch 'upstream/master' 2014-02-28 13:22:49 -07:00
Rashid Khan dd4b87a112 Use string instead of path in directives to take advantage of requirejs cache busting 2014-02-28 13:22:23 -07:00