Commit Graph

139 Commits

Author SHA1 Message Date
Jarrod Overson
3bde360e05 allowing options to be passed to getRelativeFileList 2013-06-15 11:15:01 -07:00
Jarrod Overson
ce4a167521 Added phantom polyfill, closes #63 2013-06-15 10:36:54 -07:00
Jarrod Overson
1d71a9be02 Merge branch 'forEach-ie-fix' of git://github.com/pimterry/grunt-contrib-jasmine into pimterry-forEach-ie-fix
* 'forEach-ie-fix' of git://github.com/pimterry/grunt-contrib-jasmine:
  Added explicit map implementation too, for further IE compatibility
  Whoops, stripped leftover semi-colon that makes jshint unhappy
  Switched forEach out to for(var; < length; ++) to allow compatibility with other browsers
2013-06-15 10:33:02 -07:00
Jarrod Overson
72c60666a7 added test for deep outfile 2013-06-15 10:18:17 -07:00
Duncan Beevers
3615419e90 Make relative paths relative to outfile 2013-06-15 10:18:17 -07:00
Pete Hopkins
69288dc2b8 Intercepts jasmine.Spec to stringify it as "[ Spec ]" instead of JSON.
This is required for using jasmine-given with the reporter, as that library
sets expectations on jasmine.Specs themselves. When the Spec is stringified
as JSON, it ends up stringifying the entire Jasmine environment, including
previous ExpectationResults. Since those previous ExpectationResults have had
their "expected" values stringified, they may include stringified Specs
themselves. This leds to exponential growth in the size of stringified Specs.

Special-casing jasmine.Spec prevents the exponential growth by short-circuting
the value to a small, still-useful String.
2013-06-15 10:18:16 -07:00
scheibinger
f8aed8dbf1 fixed misleading comments 2013-06-15 10:18:16 -07:00
Heiko Behrens
d2cc443e6b use fixed version of grunt-lib-phantomjs to update https://github.com/gruntjs/grunt-contrib-jasmine/pull/44 2013-06-05 14:36:57 +02:00
Heiko Behrens
0fdf44b052 Merge commit '8cceb8b9d955686a4a435224304a24ce2896c0c3'
Conflicts:
	package.json
2013-06-05 14:33:47 +02:00
Jarrod Overson
8cceb8b9d9 Merge pull request #56 from scheibinger/patch-1
fixed misleading comments
2013-04-17 09:10:47 -07:00
scheibinger
8ad40817b2 fixed misleading comments 2013-04-17 16:10:39 +03:00
Brian Ng
9819bbe611 Teardown now cleans up onAny event (Fixes #43) 2013-04-15 23:13:17 -05:00
Jarrod Overson
5df50a8afb Merge pull request #53 from existentialism/docs-keeprunner-update
Updated docs with new keepRunner option
2013-04-12 21:42:58 -07:00
Brian Ng
3c3fb73e09 Updated docs with new keepRunner option 2013-04-12 19:47:13 -05:00
Jarrod Overson
769357f2b4 0.4.2 2013-04-04 10:57:17 -07:00
Jarrod Overson
9df2c4ce60 updated documentation 2013-04-04 10:57:11 -07:00
Jarrod Overson
bd81d37009 Merge branch 'keep-runner' of https://github.com/irium/grunt-contrib-jasmine
* 'keep-runner' of https://github.com/irium/grunt-contrib-jasmine:
  Don't remover spec runner on fail.
  Added option 'keepRunner' to keep spec runner after specs execution.
2013-04-04 10:39:04 -07:00
Jarrod Overson
380729b874 fixed example, bumped grunt-lib-phantomjs, checking for trailing slash on host 2013-04-04 10:39:00 -07:00
Nicolas Rakoto
2069f109e2 Moved status init of defaults in setup(). Fixes gruntjs/grunt-contrib-jasmine#50 2013-03-29 23:18:51 +01:00
Tim Perry
9a773a188a Added explicit map implementation too, for further IE compatibility 2013-03-28 13:06:40 +00:00
Tim Perry
f22ec9c178 Whoops, stripped leftover semi-colon that makes jshint unhappy 2013-03-28 12:54:47 +00:00
pimterry
33ff4ff10e Switched forEach out to for(var; < length; ++) to allow compatibility with other browsers 2013-03-28 00:04:02 +00:00
Heiko Behrens
af73f349f8 test to verify hanging on failed load of iframe 2013-03-22 18:07:20 +01:00
Tyler Kellen
ea5334ec7e quote version number for travis 2013-03-15 01:27:09 -05:00
Tyler Kellen
44404074f3 add node 0.10 to travis 2013-03-14 17:21:29 -05:00
irium
d74c91c504 Don't remover spec runner on fail. 2013-03-11 19:08:43 +04:00
irium
3800acd69c Added option 'keepRunner' to keep spec runner after specs execution. 2013-03-11 19:07:03 +04:00
Jarrod Overson
ade6a62d93 0.4.1 2013-03-10 22:17:28 -07:00
Jarrod Overson
4dbd3ccef7 updated docs, added styles options, addresses #12 2013-03-10 22:15:29 -07:00
Jarrod Overson
da897d09f1 removed errant npmload, added nonull:true and removed file filter for relative file list, fixes #18, 0.4.0 2013-03-10 21:44:06 -07:00
Felix Kling
8fc713fb13 Fixes cirular references detection in PhantomReporter.js.
The logic which was in place to convert array-like objects to arrays
prevented the circular reference detection to work properly for arrays
and array-like objects.
2013-03-08 18:06:25 -08:00
Bastian Behrens
dbe298a042 make the jasmine version to be used configurable, added run to test older jasmine version 2013-03-08 18:06:10 -08:00
Jarrod Overson
5a53be20d4 added templates to documentation 2013-03-08 15:36:41 -08:00
Tyler Kellen
fab59daa31 bump contrib-jshint 2013-02-26 12:04:14 -05:00
Jarrod Overson
81a5816991 0.3.3 2013-02-24 08:05:07 -08:00
Jarrod Overson
2bb1b194e6 updated changelog/built readme 2013-02-24 08:05:01 -08:00
NeverI
d404617cf9 Reformatted console output + dotted visualization on runtime
(These changes does not applyed for verbose level)

Before:
should not pass: failed
should not pass: failed
should not pass: failed

Now:
.....x.x.x.
Failed level 1:: should not pass: failed
  Expected true to be false. (1)
Failed level 1:: Level 2:: Level 3:: should not pass: failed
  Expected true to be false. (3)
Failed level 1:: Level 2:: Level 3:: Level 4:: should not pass: failed
  ReferenceError: Can't find variable: asdf in file:///grunt-contrib-jasmine/test/fixtures/pivotal/spec/PlayerSpec.js (line 85) (1)
2013-02-24 02:14:11 +01:00
NeverI
e96ab59997 From the end result I removed the failure spec count,
because task return value also displayed that information.
2013-02-24 02:05:32 +01:00
NeverI
5cea4291f4 Failure tests for easier testing (disabled) 2013-02-24 01:47:58 +01:00
NeverI
910418f83b Watch task for jasmine task change 2013-02-24 01:44:19 +01:00
NeverI
faa1032ed7 Fix missing watch task module 2013-02-24 01:43:29 +01:00
Jarrod Overson
78cd9cc35b Merge pull request #27 from christopherscott/typosfix
fixed some minor typos with js examples
2013-02-22 15:16:13 -08:00
christopherscott
cf88cc50fb fixed some minor typos with js examples 2013-02-22 10:06:43 -08:00
Tyler Kellen
6b9ecca0d1 regen readme to fix typo 2013-02-20 12:42:59 -05:00
Tyler Kellen
ed42d9dc22 add peerDependencies 2013-02-18 08:42:28 -05:00
Tyler Kellen
afb4a64142 version bump 2013-02-17 21:40:13 -05:00
Tyler Kellen
ae4203471b 0.4 release 2013-02-15 19:35:22 -05:00
Jarrod Overson
3eeb595ff6 exposing sendMessage and phantom to templates 2013-02-05 14:13:10 -08:00
Tyler Kellen
74069dd929 update getting started guide link 2013-02-05 11:53:54 -05:00
Jarrod Overson
c929d11e72 updated for grunt v0.4.0rc7 2013-01-22 17:01:38 -08:00