Commit Graph

57 Commits

Author SHA1 Message Date
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