Commit Graph

181 Commits

Author SHA1 Message Date
John Bintz
b04bb49879 add 1.9.3-rc1 test support and fix #70 2011-10-10 09:32:27 -04:00
John Bintz
870b8e2a51 Merge branch 'master' of github.com:johnbintz/jasmine-headless-webkit 2011-09-19 16:16:21 -04:00
John Bintz
719ecf7f3c bump version 2011-09-17 12:06:56 -04:00
John Bintz
62d00cdd4c Merge branch 'super-traces' 2011-09-16 11:11:53 -04:00
John Bintz
15e9e90a7b require digest/sha1 2011-09-16 10:44:06 -04:00
John Bintz
243fe526ac rip out the big js parser and put in a tiny one to guess spec line numbers on failures 2011-09-12 15:12:58 -04:00
John Bintz
d8d04b8638 bump version 2011-09-12 09:15:56 -04:00
John Bintz
9c78766ded fix jsDump parsing 2011-09-09 15:35:51 -04:00
John Bintz
dc134dcf24 fix the determination of spec files for line number analysis 2011-09-09 11:49:17 -04:00
John Bintz
7bd6894397 also add beautify-html.js 2011-09-08 13:59:28 -04:00
John Bintz
a8b066ee50 make sure reports don't blow up with multi-line console messages 2011-09-08 12:17:50 -04:00
John Bintz
d8023afaee hack up a copy of jsDump and improve console reporting 2011-09-08 11:48:33 -04:00
John Bintz
363ee91b6b better support for when we don't know spec line location 2011-09-06 16:48:19 -04:00
John Bintz
6bf64edb32 better support for re-running specific specs and getting information on which specs failed 2011-09-06 16:01:10 -04:00
John Bintz
7f197c3719 modify reporter for use with guard 2011-09-03 07:54:52 -04:00
John Bintz
cae6f16623 finish new-style reporting, time to use it 2011-09-02 17:00:21 -04:00
John Bintz
b21573b1dc fix a bug and give a message when the cache is building 2011-09-02 11:31:58 -04:00
John Bintz
8b8fc32f80 change how includes work and shuffle things around 2011-09-02 10:49:15 -04:00
John Bintz
c523a1e310 second part - cache spec file analysis 2011-09-01 10:39:29 -04:00
John Bintz
fa27ee715a enable coffeescript cache, step 1 of a big speedup 2011-09-01 09:38:53 -04:00
John Bintz
a46e72c1e2 fix colors options, fixes #55 2011-08-23 20:07:05 -04:00
John Bintz
ebe5b03e36 start of file listing 2011-08-22 13:26:48 -04:00
John Bintz
6a06d87a4c special case for when logging jquery nodes -- print the html 2011-08-11 13:07:48 -04:00
John Bintz
dc5b8c026d better errors and flatten jasmine.yml keys, allowing for merged yaml sequences in config 2011-08-10 13:11:05 -04:00
John Bintz
30ce01c017 this caching is too dangerous 2011-08-07 00:17:45 -04:00
John Bintz
680f66db6e Merge branch 'master' of github.com:johnbintz/jasmine-headless-webkit 2011-08-04 10:19:51 -04:00
John Bintz
572d2a8b5a ensure bad utf-8 is handled, fixes #48 2011-08-04 10:18:05 -04:00
John Bintz
1de9307c5d Merge pull request #47 from rapportive-oss/master
Patch to allow running specs containing UTF-8
2011-08-03 05:23:03 -07:00
Sam Stokes
7af9e353af Set test harness to UTF-8 to allow running UTF-8 spec source files 2011-08-02 20:28:39 -07:00
John Bintz
f96a0e3d76 Merge branch 'master' of github.com:johnbintz/jasmine-headless-webkit 2011-07-22 07:47:54 -04:00
John Bintz
13bcd5226e ensure a spec can't leave the page, causing a craaaazy loop 2011-07-22 07:42:25 -04:00
Olivier Melcher
8f98da4767 require yaml in runner.rb
fixes bad YAML module look-up that would give the following error:

[jasmine-headless-webkit] uninitialized constant Jasmine::Headless::Runner::YAML (NameError)
/gems/jasmine-headless-webkit-0.6.0/lib/jasmine/headless/runner.rb:47:in `jasmine_config'
2011-07-20 15:27:20 -07:00
John Bintz
4c7e03dc57 we don't need all of jasmine, just jasmine-core 2011-07-19 10:41:23 -04:00
John Bintz
75f4d26344 better handling of rails version checks 2011-07-19 10:29:25 -04:00
John Bintz
efd8150a55 have runner tried to build qtwebkit widget if it's missing 2011-07-14 16:23:29 -04:00
John Bintz
e72eaef7a1 better finding of spec lines 2011-07-14 10:54:44 -04:00
John Bintz
3c4e557517 show line numbers for spec failures, whoa nelly 2011-07-13 14:42:47 -04:00
Ryan Carver
d5e44fe9a5 change Jasmine.root to Jasmine::Core.path to work with jasmine 1.1 2011-06-30 12:27:57 -07:00
John Bintz
1d3991f52e support globs in file filters, fixes #29 2011-06-30 06:41:32 -04:00
John Bintz
edd503f262 passing in no files doesn't mean run a focused test with zero files, doi 2011-06-29 10:38:15 -04:00
John Bintz
99c939e6d0 raise exceptions on rake task failures, hopefully addresses #26 2011-06-28 11:24:11 -04:00
John Bintz
7316f77367 use mocha mocking instead of punching ducks 2011-06-28 11:06:36 -04:00
Zachary Spencer
ccaab1c8f3 Made it so the rake task doesn't explode if you're too cool to use Rails 2011-06-28 16:31:37 +08:00
John Bintz
cc370aac0b remove unneeded method 2011-06-23 09:34:41 -04:00
John Bintz
c359e8b28b targeted runs w/ files outside scope work 2011-06-23 09:29:07 -04:00
John Bintz
00c4a30481 fix railtie for rails 3.1, fixes #22 2011-06-21 06:49:00 -04:00
John Bintz
d4b886099c fix other half of #19, better error reporting and exceptions 2011-06-19 15:08:18 -04:00
John Bintz
3b71a0355b half-fix for #19, ensure coffeescript files have newlines separating them 2011-06-19 14:51:47 -04:00
John Bintz
2baed03356 better fix rake task for new rake dsl 2011-06-18 12:43:22 -04:00
John Bintz
7c37c80a9a fix coffeescript compile error exceptions 2011-06-17 10:27:00 -04:00
John Bintz
cff6891a8d Merge branch 'duck-punch-sprockets' 2011-06-17 09:40:59 -04:00
John Bintz
58d8f95588 report other errors better 2011-06-17 09:34:18 -04:00
John Bintz
293763cc1e make the rake task use the shiny new runner 2011-06-16 19:38:45 -04:00
John Bintz
96352d21a0 only load the rake dsl in if it's possible 2011-06-16 19:33:36 -04:00
John Bintz
6f85d3d1e8 fix #12, Rake::DSL 2011-06-16 17:34:00 -04:00
John Bintz
2c0d4d797b remove a debug thing 2011-06-16 10:50:45 -04:00
John Bintz
50bd14a82e fix running from non-cli 2011-06-16 10:11:37 -04:00
John Bintz
cdff35c0e2 break out running from bin 2011-06-16 09:51:49 -04:00
John Bintz
ac7cf07d5d the duck doesn't need to be punched as hard as I thought... 2011-06-13 07:50:15 -04:00
John Bintz
cc619466df punch sprockets in the duck to make it compile files we can actually test 2011-06-12 10:40:18 -04:00
John Bintz
c29757ad9f ensure files are not required twice, fixes #10 (h/t @dnagir) 2011-06-11 09:54:15 -04:00
John Bintz
46d1027982 fix coffeescript compile error support 2011-06-10 17:14:50 -04:00
John Bintz
2672550bbd ok, there's a little bit that can be cached 2011-06-10 14:29:16 -04:00
John Bintz
d0afb329f1 caching doesn't work as nicely w/ grouped coffeescript compile, turning it off for now 'cause the speed benefit of grouped compilation is already huge 2011-06-10 14:25:08 -04:00
John Bintz
67940c5066 only call the coffeescript compiler as much as needed. so much faster 2011-06-10 14:18:35 -04:00
John Bintz
26675216ad don't do things twice, it wastes time 2011-06-10 11:35:54 -04:00
John Bintz
f7d899b0f7 write out two templates and execute one after the other if everything's cool 2011-06-10 11:02:26 -04:00
John Bintz
c32f13fbe1 factor out file list management 2011-06-10 10:04:21 -04:00
John Bintz
2b5eaa7990 provide both console.log and console.pp 2011-06-08 09:27:54 -04:00
John Bintz
0426fc57cc use the jasmine pretty printer if available 2011-06-07 14:55:31 -04:00
John Bintz
029e12ad7b can write out a reporting file 2011-05-29 12:30:19 -04:00
John Bintz
ea0b00e4dc create a railtie to have tasks appear automatically 2011-05-17 10:41:51 -04:00
John Bintz
ed7d6a9378 switch to rake task and gh-pages hosting the readme 2011-05-17 07:47:42 -04:00
John Bintz
aa11f442bc add global options 2011-05-16 17:19:44 -04:00
John Bintz
b53c4c56f7 remove something 2011-05-12 17:07:39 -04:00
John Bintz
16a7507f55 new reporter, attempt 1 2011-05-12 17:02:11 -04:00
John Bintz
b2571b4e3e only run the provided specs 2011-05-11 10:29:02 -04:00
John Bintz
a1077c1c36 a little code cleanup 2011-05-10 09:25:55 -04:00
John Bintz
f6f975a8c9 requisite pre-release code cleanup 2011-05-09 15:52:11 -04:00
John Bintz
d24e41198c remove our distribution of jasmine and use the gem 2011-05-06 14:16:25 -04:00
John Bintz
603ba69f77 start factoring out some things 2011-05-06 14:05:15 -04:00