Commit Graph

80 Commits

Author SHA1 Message Date
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
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
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
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
Jarrod Overson
3eeb595ff6 exposing sendMessage and phantom to templates 2013-02-05 14:13:10 -08:00
Jarrod Overson
82393b94bf updated for rc5 2013-01-09 21:24:18 -08:00
Jarrod Overson
7fd976a2a1 Added JUnit xml output (via Kelvin Luck @vitch)
Passing console.log from browser to verbose grunt logging
Support for templates as separate node modules
Removed internal requirejs template (see grunt-template-jasmine-requirejs)
General refactor
2013-01-08 11:28:26 -08:00
Kelvin Luck
679bb383aa Fix for the classname not appearing in the generated XML file... 2013-01-08 15:02:26 +00:00
Kelvin Luck
d224f2c687 Naming the generated JUnit files TEST-[name].xml as they were in the old version of the plugin for easier migration where Jenkins is searching for files named in that way. 2013-01-08 14:36:50 +00:00
Kelvin Luck
d6796a57a4 Not dying when there is a suite with no specs - this seems to happen in the bundled requirejs example. 2013-01-08 13:19:02 +00:00
Kelvin Luck
0e5d54587d Fixing lint errors 2013-01-08 13:16:32 +00:00
Kelvin Luck
f19d07a209 Writing the suites out to separate xml files with the option to consolidate into one file per top level suite... 2013-01-08 13:09:05 +00:00
Kelvin Luck
ef8f191c46 Outputting additional information into the JUnit XML
Since it is available and seems to be desired by the JUnit spec [ http://stackoverflow.com/questions/4922867/junit-xml-format-specification-that-hudson-supports ]
2013-01-08 10:38:29 +00:00
Kelvin Luck
8e85e593bd Fixed a typo which prevented failure messages from appearing in output 2013-01-08 10:13:55 +00:00
Kelvin Luck
e8e95dbbca Test duration in JUnit is reported in seconds rather than miliseconds... 2013-01-08 10:09:55 +00:00
Kelvin Luck
28189d7f05 Generating an XML file from a template based on the run specs... 2013-01-07 23:04:44 +00:00
Kelvin Luck
a6fd38da1b Added the relevant code from the JUnitDataReporter into the PhantomReporter for use from within the Phantom environment 2013-01-07 22:59:19 +00:00
Kelvin Luck
0313861501 Built a JUnitDataReporter which outputs the data while is required to create a junit xml file.
It's easier to test in a browser so wrote the logic here first - will now copy across to the PhantomReporter for reuse by the plugin...
2013-01-07 21:34:04 +00:00
Kelvin Luck
f6ba8be382 Commenting out unused code.
The PhantomReporter never fires a writeFile event so I don't think this code could ever be triggered?
2013-01-07 17:12:37 +00:00
Jarrod Overson
f1ff456c73 generalized configuration for requirejs template, updated jasmine, added loader plugin closing #5, #6, #7 2012-12-03 00:33:32 -08:00
Tyler Kellen
e3e225cdb9 html5 templates 2012-11-28 10:52:22 -06:00
Tyler Kellen
9b3bd27e7d remove expandFiles, grunt does it for us now 2012-11-19 15:55:53 -05:00
Jarrod Overson
d44d81448b Fixed race condition with requirejs template 2012-11-07 10:56:19 -08:00
Jarrod Overson
9a71d179ea initial commit 2012-11-01 22:03:09 -07:00