Christopher Amavisca and Greg Cobb
a2ac5ef3b6
Throw error if you define a spy outside of a runnable
...
[#66789174 ]
2014-03-05 14:27:19 -08:00
Christopher Amavisca and Greg Cobb
b200952195
Only clear resources if suite is not disabled
...
[#66789174 ]
2014-03-05 14:00:57 -08:00
Christopher Amavisca, Greg Cobb and Sheel Choksi
752a36d3ff
Manage spys/matchers/custom equalities for beforeAll
...
- Refactor expectations to take list of matchers
- Add spyRegistry to manage runnables' spies
- Add clone util
[#66789174 ]
2014-03-05 10:28:37 -08:00
Gregg Van Hove and Sheel Choksi
52026fb0f7
beforeAll/afterAll can be timed out and errors are applied to all children specs
2014-03-03 16:13:59 -08:00
Gregg Van Hove and Sheel Choksi
e17a2cb1e0
share usercontext for full suite
2014-03-03 11:57:32 -08:00
Gregg Van Hove and Sheel Choksi
ec5695acc1
first (naive) pass at beforeAll/afterAll
2014-03-03 09:26:39 -08:00
Christopher Amavisca and Sheel Choksi
9d1e92f5e2
Clean up more remnants of dev_boot
2014-02-27 18:02:14 -08:00
Elana Koren and Gregg Van Hove
eebba2ecca
Support browsers that don't supply a Date.now()
...
- install the mockDate by calling `mockDate` on `clock` instead of
passing an argument to `clock.install()`
[Finishes #66606132 ] Closes #361
2014-02-27 11:55:25 -08:00
Elana Koren and Gregg Van Hove
627a262085
Merge branch 'mock-date' of https://github.com/jalopez/jasmine into jalopez-mock-date
2014-02-27 10:03:35 -08:00
Christopher Amavisca and Sheel Choksi
305bd73142
Instead of dev boot use a custom helper to defined j$
2014-02-26 17:35:10 -08:00
Elana Koren and Gregg Van Hove
fb853ad5b5
Don't include jasmine_selenium_runner from github, now that it's
...
published to rubygems
[finish #66472672 ]
2014-02-26 15:30:17 -08:00
Greg Cobb and Sheel Choksi
640f94a1bd
Don't allow calling the same done callback multiple times
...
[finishes #62585700 ][fixes #523 ]
2014-02-25 18:06:30 -08:00
Greg Cobb and Sheel Choksi
5aac3e3292
Refactor Spec and QueueRunner [ #62585700 ]
...
- QueueRunner now responsible for timing out async specs instead of
Spec
- Make sure only spec functions are timeoutable and not suites (due to
the refactor)
2014-02-25 18:06:30 -08:00
Charles Hansen and Gregg Van Hove
84160ff51d
revert to old version of checking the docs
2014-02-25 11:28:02 -08:00
Charles Hansen and Gregg Van Hove
e972bac80d
No longer try to push to github, we'll update jasmine in docs manually
2014-02-25 10:58:59 -08:00
Charles Hansen and Gregg Van Hove
455b6bade8
bundle install in docs repo
2014-02-25 10:56:41 -08:00
Charles Hansen and Gregg Van Hove
23c0e379e0
update edge docs when changes are made to jasmine
2014-02-25 10:42:59 -08:00
Robin Böhm
31d71ac22f
add single quote check to jshint and fix src files for that
...
[fixes #522 ]
2014-02-24 16:28:16 -08:00
Greg Cobb and Sheel Choksi
095b02ad83
Follow redirects when trying to connect to sauce
2014-02-24 16:13:25 -08:00
Greg Cobb and Sheel Choksi
98c258a659
Bump built distribution [ #503 ][finishes #66350898 ]
2014-02-24 15:47:34 -08:00
Michal Mocny
85fa148f18
Support running jasmine within CSP (remove eval)
...
[fixes #503 ]
2014-02-24 15:44:11 -08:00
Sheel Choksi
76ca5ef6d4
Allow matcher custom failure messages to be a function
...
By deferring the evaluation of these messages, we can avoid the
expensive creation of them when in the majority use case (tests are
passing) they are not needed.
These failure messages were causing performance problems with larger
objects needed to be pretty printed as discussed in #520 and brought up
by @rdy.
[fixes #65925900 ][fixes #520 ]
2014-02-18 20:05:30 -08:00
Sheel Choksi
46d2c43da1
Revert "Use default failure message for toBeNaN"
...
Forgot that NaN has special casing that it needs a custom error message
for
This reverts commit b6c03a34e7 .
2014-02-18 19:14:16 -08:00
Sheel Choksi
b6c03a34e7
Use default failure message for toBeNaN
...
It is providing the same functionality by default without a custom error message
2014-02-17 22:45:54 -08:00
Sheel Choksi
4ddf316388
Add in default rake task
2014-02-16 14:57:14 -08:00
Sheel Choksi
a8cbef3123
More color blind friendly CSS from @dleppik
...
Updating the passing and failing colors in HTML reporter to
help red/green color blind users using the colors suggested by @dleppik
Console reporter still likely needs similar changes but there's less
options there
[#463 , #509 , finishes #60613086 ]
2014-02-16 14:56:18 -08:00
Sheel Choksi
a937d8d74f
Merge pull request #521 from robinboehm/load-grunt-tasks
...
use load-grunt-tasks
2014-02-16 14:53:07 -08:00
Robin Böhm
2fc2802809
use load-grunt-tasks
2014-02-16 22:13:53 +01:00
Sheel Choksi
7cf899a4ea
Special case printing -0
...
Use the 1/x trick to determine if a value is -0 and special case the
printing of it.
[closes #496 ]
2014-02-09 14:14:33 -08:00
Sheel Choksi
83c0ea7f91
Fix error message in jasmine.any
...
The expected any 'class' was not being included in the error message
due to accessing the wrong property
2014-02-09 14:06:47 -08:00
Sheel Choksi
289c8313d1
Short spec to document why we close over Date and ensure cross-browser compatibility
...
[closes #506 ]
2014-02-09 12:20:03 -08:00
tcorral
b5775aec4f
Allow stub or spy Date object safely using a closure to get a clean copy
...
[closes #506 ]
2014-02-09 12:20:03 -08:00
Davis W. Frank
21b01f4a5d
Whitespace Markdown fix
2014-01-24 09:32:20 -08:00
Davis W. Frank
71faeea7b0
First attempt at publishing an npm
2014-01-24 09:31:38 -08:00
Sheel Choksi
de7d005b3d
Break out quick start guide on newline
...
[skip ci]
2014-01-19 14:21:21 -08:00
Sheel Choksi
7acf5d4220
Add in link to quick start of Jasmine, closes #498
...
[skip ci]
2014-01-19 14:16:00 -08:00
slackersoft
2a8b5a30b6
Use \d7 instead of plain 'x' for more square appearance
...
[finishes #48434179 ]
2014-01-18 17:33:57 -10:00
Sheel Choksi
9c7ba43ebd
Clean up a bunch of spec global variable leaks
...
Also some formatting changes to highlight when using one 'var' with comma operator
2014-01-18 14:17:14 -08:00
Sheel Choksi
8ca08ff999
Run Object.create(null) spec on all browsers not IE 8
...
IE 8 doesn't support Object.create so there shouldn't be a need to run this spec in IE 8
2014-01-18 13:12:07 -08:00
slackersoft
15aa3ecb5d
Better support in pretty printer when an object has null prototype
...
- Fixes #500
2014-01-17 19:56:43 -10:00
Davis W. Frank
2670bb40a7
Get rid of freeze property for now - it's not adding value.
2014-01-10 10:23:14 -08:00
Sheel Choksi
c8ffa6000b
Reproducing change made in #479 that was made to build distribution instead of src
...
It was lost when I rebuilt the distribution
2014-01-09 22:14:04 -08:00
Sheel Choksi
06a553503d
Better failure message when something is thrown that's not an error
...
Change from 'undefined : undefined' to '<thing that was thrown> thrown'
Pointed out by @charleshansen
2014-01-09 22:10:40 -08:00
Sheel Choksi
aab4808410
Bump built distribution
2014-01-09 22:07:59 -08:00
Sheel Choksi
b525313cdb
Make the check for pending spec exception work for values that don't have toString
2014-01-04 23:11:20 -08:00
Sheel Choksi
f576395620
Bump built distribution copyright's for 2014
2014-01-04 23:11:20 -08:00
Sheel Choksi
b161e9e3df
Merge pull request #486 from nextmat/link_fix
...
Update link at top of README
2014-01-01 20:00:18 -08:00
Matt Sanders
94ecb998bb
Update link at top of README
...
Allows access to Jasmine 2.0 docs
2013-12-27 00:29:35 -07:00
Davis W. Frank
38daa43c7e
Merge pull request #479 from shprink/fix_jasmine_html
...
force query selector to seek within the html-reporter element
2013-12-19 09:42:15 -08:00
Davis W. Frank
9fb9c12066
Merge pull request #478 from shprink/adding_netbeans_to_gitignore
...
adding netbeans project folder to the gitignore list
2013-12-19 09:37:19 -08:00