Rajan Agaskar
98c99c4ebb
Remove obsolete MessageResult
...
- jasmine.log is no longer supported.
2012-12-07 16:44:41 -08:00
Rajan Agaskar
4318de4647
Remove obsolete bindOriginal, timing bindings.
...
- Handled by boot now.
2012-12-07 16:40:58 -08:00
Davis W. Frank & Rajan Agaskar
a526ebf261
Re-add async support (achieved via done callbacks)
...
- TODO: pull out queueRunner into a new object.
2012-12-07 16:36:24 -08:00
Davis W. Frank & Rajan Agaskar
c2e1327f39
Permit HTMLReporter to render every 250ms
...
- This is necessary for the user to see spec results fill-in
progressively.
- There is a slight performance loss. 250 - 500ms seems to deliver the
same amount of loss. This is still at parity with Jasmine 1.x
2012-12-07 14:49:19 -08:00
Davis W. Frank & Rajan Agaskar
234f2a1585
Reintroduce fn that clears stack occasionally
...
- setTimeout will clear stack, prevent overflow. We run this once every
thousand specs.
- Browser users will probably want a time-based clear rather than spec
count based clear, as a thousand tests is typically quite slow. The
reporter should provide this.
2012-12-07 14:49:14 -08:00
Davis W. Frank & Rajan Agaskar
c584f182ab
Fix getFullName on spec.
...
- Fixes specFiltering on nested specs
2012-12-07 11:32:52 -08:00
Davis W. Frank & Rajan Agaskar
74f928fd54
Re-add Mock Clock behavior as global 'clock'
...
- Use clock.install, clock.tick...
- Add unit coverage.
- Fixes old bug in function scheduler
2012-12-07 10:04:47 -08:00
Davis W. Frank & Rajan Agaskar
a1011e7748
Rewrite Spec & allow Jasmine to be namespaced
...
- THere seems to be a performance regression. Large test suites may
throw
- Regressions: Mock Clock won't install correctly, async specs are
temporarily not supported.
- Async spec runs/waits interface is gone. Blocks are gone.
- Move most global usage into jasmine.Env constructor.
- Remove optional 'Jasmine running' from HtmlReporter -- caused
NS_FACTORY_ERROR in firefox when tested
2012-12-06 09:10:24 -08:00
Davis W. Frank & Rajan Agaskar
779dee1211
Remove results from Queue
...
- consequently, Runner & Suite no longer have results.
- Results come back to reporters from Spec, we should not have a need to
walk them later via suite/runner (in fact, no reporter used results on
suite/runner -- only bad tests)
- Remove/clean up tests relying on #results
- Remove integration tests that duplicate already tested behavior
2012-12-03 15:57:16 -08:00
Davis W. Frank & Rajan Agaskar
cd3a0c854b
buildExpectationResult now returns a data object.
...
- Meant for passing to reporters.
2012-12-03 15:46:29 -08:00
Davis W. Frank & Rajan Agaskar
f840458b34
Encapsulate ExpectationResult
2012-12-03 15:46:29 -08:00
Davis W. Frank & Rajan Agaskar
dfed37531e
Add unit coverage for ExpectationResult
2012-12-03 15:46:29 -08:00
Davis W. Frank & Rajan Agaskar
8d94d0bfc5
Move ExpectationResult into its own file
2012-12-03 15:46:28 -08:00
Rajan Agaskar
3e5da57cf9
Remove jasmine.XmlHttpRequest
...
- Cruft left over from when jasmine offered an "include" function
2012-12-03 15:46:28 -08:00
Davis W. Frank & Rajan Agaskar
e2af08e0a6
Move most jasmine global usage into boot.
...
- thor build scripts broken for now.
2012-12-03 15:46:26 -08:00
Davis W. Frank & Rajan Agaskar
b6c3999c3a
Version 1.3.1
2012-12-03 15:40:01 -08:00
Davis W. Frank & Rajan Agaskar
86994b25db
Use jasmine-gem for jasmine-core tests
2012-12-03 15:40:00 -08:00
Davis W. Frank & Rajan Agaskar
9a7c76ea23
Releasing 1.3
...
- Allow users to set the pretty-printer's recursion depth
- When pretty-printing objects, don't include inherited properties.
- Change toBeCloseTo matcher to be more consistent
- Added toBeNaN matcher
- Add checkbox to test runner which toggles catching of exceptions duri
- Add config option which stops jasmine from capturing exceptions in a
2012-12-03 15:40:00 -08:00
Joost Elfering
d9467317a8
adding a check for the sticky regExp option supported by Firefox and accepted by the ES6. Note that the tests for this case are checking for the support of the sticky parameter. the logic is still tested by the other expect statements in browsers that do not support sticky but will never enter that block as creating a regExp with that flag is not allowed. Coverage is still good. See pivotal/jasmine#234
2012-12-03 15:40:00 -08:00
Joost Elfering
b95c43ab7c
resolving issue that was identified via pivotal/jasmine#199 where RegExp objects were not properly compared resulting in non-matching RegExp objects to always return true. a patch to jasmine.Env.equals_ adds an extra step for RexExp objects to be compared.
2012-12-03 15:40:00 -08:00
James Cracknell
ac55e26870
Added toBeNaN matcher
2012-12-03 15:40:00 -08:00
Kevin Locke
26f0f6f213
Don't assume exports is defined when window is undefined
...
The current code makes the assumption that if window is undefined it is
being run in an environment which supports the CommonJS Modules spec.
This is not the case when Jasmine is being run in rhino or SpiderMonkey
(smjs) without EnvJS.
The fix is simply to check that exports is an object.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name >
2012-12-03 15:40:00 -08:00
rgould
c5ba032d28
Regenerate jasmine.js after adding ensured support.
2012-12-03 15:39:59 -08:00
Oliver Caldwell
4d106c2b33
Wrapped the reserved word, "for", in quotes.
...
This stops it throwing errors in IE and other browsers. I think the newer Firefox and Chrome versions are the only browsers to not die when running it.
2012-12-03 15:39:59 -08:00
Dave Burt
5e594946bb
Change toBeCloseTo matcher to be more consistent.
...
It now calculates and compares a difference, rather than rounding
two separate quantities and testing for their equality.
2012-12-03 15:39:59 -08:00
Alex Kwiatkowski
1771ec3c63
Add checkbox to test runner which toggles catching of exceptions during tests
2012-06-24 00:02:52 -04:00
Alex Kwiatkowski
2385acedd8
Add config option which stops jasmine from capturing exceptions in a test
2012-06-23 23:12:31 -04:00
ragaskar
b6f96bc121
Version 1.2.0
...
- Bump version
- Update pages submodule
2012-05-14 07:35:47 -07:00
ragaskar
fbbccf6ef7
Bump to 1.2.0.rc3
2012-04-04 09:48:00 -07:00
Davis W. Frank
d46ca4f506
correct for 1.2.0.rc2
2012-04-03 15:35:08 -07:00
Davis W. Frank
e22c4492a5
release prep for 1.2.0.rc1
2012-04-02 18:34:59 -07:00
Davis W. Frank
6e22754c10
1.2.0.rc1 commit
2012-04-01 13:19:24 -07:00
Davis W. Frank
bab4538404
Fix to name the standalone distribution from the version number
2012-04-01 13:11:53 -07:00
Davis W. Frank
ad78d0d0d8
Fixed bug where version for Ruby gem wasn't correct
2012-04-01 13:08:42 -07:00
Davis W. Frank
674197aef8
Removed TermAnsiColor gem (uses GPL and isn't needed anymore)
2012-04-01 10:51:04 -07:00
Davis W. Frank
626da5a112
Re-implemented all development Rake tasks in Thor. Now actually tested.
...
Fixes:
* https://www.pivotaltracker.com/story/show/25484287 & https://github.com/pivotal/jasmine/issues/183
* https://www.pivotaltracker.com/story/show/25485401 & https://github.com/pivotal/jasmine/issues/189
* https://www.pivotaltracker.com/story/show/25485953 & https://github.com/pivotal/jasmine/issues/159
2012-04-01 10:47:29 -07:00
Davis W. Frank
c87cf71f4f
Merge pull request #156 from cathoderay/master
...
fixing typo
2012-01-08 12:46:14 -08:00
gvanhove
7158fc2426
Rename hashContaining to objectContaining, since this is javascript. Also call the toString from prettyPrinter
2011-11-14 18:26:48 -08:00
gvanhove
992367dcbc
New matcher "hashContaining" similar to rspec's hash_including
2011-11-14 18:26:48 -08:00
gvanhove
ce886e20e4
commit updated version into jasmine.js
2011-11-14 18:26:48 -08:00
Ronald Andreu Kaiser
8c22b26d9c
fixing typo
2011-11-11 16:42:50 -02:00
Davis W. Frank & Sean Durham
ad4f48dcd4
Add new HTMLReporter
2011-11-04 14:43:19 -07:00
ragaskar
41f496001f
Version bump to 1.1.0
2011-09-10 13:51:11 -04:00
ragaskar
6b5956724b
Version bump to rc4
2011-09-01 07:26:07 -04:00
Osukaru
83f232237d
fixed html comments
2011-08-26 01:22:11 +03:00
qfox
c4f27ae377
ASI trolling
2011-07-21 00:58:53 -07:00
ragaskar
a075c75bce
Version bump to 1.1.0.rc3
2011-07-13 07:23:29 -04:00
ragaskar
a617b59e6a
Bump to rc2
2011-06-24 21:34:29 -04:00
Davis W. Frank
620f7b6e4c
Updates to Pages; Updates to docs;
2011-06-23 19:02:17 -07:00
ragaskar
b722f416c7
Write out version.rb on dist build
2011-06-23 07:55:04 -04:00