Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00
Steve Gravrock
ac5d8708b9
More informative pretty-printing of DOM elements
...
[Finishes ##153562618]
2017-12-11 08:25:13 -08:00
Steve Gravrock
eb93d38294
Allow jasmine-npm to handle its own load errors
...
[Fixes #153466462 ]
2017-12-08 09:17:10 -08:00
Steve Gravrock
d16aa550cb
Treat random= as a no-op rather than disabling randomization
...
[#109197518 ]
2017-12-01 08:45:58 -08:00
Steve Gravrock
2200dd084d
Fixed build
2017-12-01 08:34:12 -08:00
Steve Gravrock
a63172f53f
expect(null).toEqual(jasmine.any(Object)) no longer passes
...
[Finishes #153181443 ]
Fixes #1255 .
2017-11-29 08:10:01 -08:00
Steve Gravrock
9619acf91f
Extracted the predicate version of toThrowError into its own matcher
...
This simplifies the signature of each matcher to something that jsdoc
can actually handle.
[Finishes #20622765 ]
2017-11-28 14:30:06 -08:00
Gregg Van Hove
b7e4c1e779
Remove console.js altogether
...
[#80410262 ]
2017-11-21 17:27:21 -08:00
Steve Gravrock
d35b65cf79
Set version to 3.0.0-pre
2017-11-17 14:28:20 -08:00
Steve Gravrock
db615e4186
Determine overall status in core, not reporters
...
[#92261606 ]
[#78679648 ]
2017-11-17 14:24:12 -08:00
Steve Gravrock
5906a2c05c
Filter Jasmine frames from stack traces
...
[Finishes #2644992 ]
2017-11-13 15:49:01 -08:00
Steve Gravrock
b0ec95c472
Merge branch 'master' into 3.0-features
2017-11-10 10:26:14 -08:00
Julian Lannigan
2be5e0a962
Allowed async functions to be passed into spy#callFake
2017-11-09 19:59:23 -05:00
Steve Gravrock
419470e9df
Removed support for IE <10
...
[#150527985 ]
2017-11-08 08:30:22 -08:00
Steve Gravrock
1526d5e2a8
Treat afterAll errors at any level as failures
...
[Finishes #152492514 ]
2017-11-07 20:48:23 -08:00
Steve Gravrock
278ef9228b
Removed obsolete console reporter from core
...
Anyone who was still using this should use the one in jasmine-npm
instead.
[Finishes #80410262 ]
2017-11-07 12:25:47 -08:00
Steve Gravrock
82eeed3c85
Improved reporting of load errors and afterAll errors
...
- Pass file and line number to reporters when present
- Show file and line number in the HTML reporter when present
- Visually separate adjacent errors in the HTML reporter
[#24901981 ]
2017-11-04 10:28:42 -07:00
Steve Gravrock
285f06d5c4
Merge branch 'promise-matching-1314' of https://github.com/sderickson/jasmine
2017-11-02 17:18:24 -07:00
Steve Gravrock
3aece2ac74
Merge branch 'master' of https://github.com/b-3-n/jasmine
...
- Merges #1445 from @b-3-n
- Fixes #1444
2017-11-02 08:17:27 -07:00
Steve Gravrock
26a7bc6acf
Report loading errors as loading errors, not afterAll errors
...
[#24901981 ]
2017-11-01 14:09:29 -07:00
Steve Gravrock
7b8edcb401
HTML reporter reports overall failure if there are any global errors
...
[#24901981 ]
2017-11-01 11:44:58 -07:00
Steve Gravrock
bd250f27c7
Fail if error events (e.g. syntax errors) occur during loading
...
[#24901981 ]
2017-10-31 21:16:00 -07:00
Steve Gravrock
12ed3bfacd
Allow use of a predicate function to validate thrown exceptions
...
[Finishes #20622765 ]
2017-10-30 08:51:25 -07:00
Steve Gravrock
324ad0073e
Refactored toThrowMatching to facilitate adding more strategies
...
* Extracted sub-matchers for the two major existing strategies
(matching all errors, and matching by type and/or message)
* Reduced the use of mutable state
2017-10-30 08:51:25 -07:00
Steve Gravrock
9f7a6ef061
Check truthiness of toThrowError args, not arg count
...
This enables some useful simplifications at the cost of making it
impossible (for now) to expect a function to throw an error with a falsy
message.
[#20622765 ]
2017-10-30 08:51:25 -07:00
Steve Gravrock
e31db20ec7
Default to running tests in random order
...
[Finishes #109197518 ]
2017-10-27 08:50:40 -07:00
Steve Gravrock
da91294182
Merge branch 'anything-fix' of https://github.com/voithos/jasmine
...
- Merges #1436 from @voithos
2017-10-24 08:26:13 -07:00
Steve Gravrock
bd41a97cd5
Merge branch 'anysymbol-fix' of https://github.com/voithos/jasmine
...
- Merge #1435 from @voithos
2017-10-24 08:18:42 -07:00
Steve Gravrock
4c6dadb9b1
Merge branch 'github-1295' of https://github.com/ksvitkovsky/jasmine
...
- Merges #1411 from @ksvitkovsky
2017-10-23 11:58:30 -07:00
Steve Gravrock
b7e9594c86
Merge branch 'jasmine-deep-clone-args' of https://github.com/aj-dev/jasmine
...
- Merges #1424 from @aj-dev
2017-10-23 11:32:58 -07:00
Steve Gravrock
6c363f11b3
Merge branch 'lintfix' of https://github.com/voithos/jasmine
...
- Merges #1428 from @voithos
2017-10-23 11:01:18 -07:00
Gregg Van Hove
f6342ad4fe
Add a note about defineProperty for spyOnProperty
...
- Fixes #1415
2017-08-24 12:22:11 -07:00
Gregg Van Hove
8cf8736cab
bump version to 2.8.0
2017-08-24 11:41:41 -07:00
Gregg Van Hove
8834142198
Update jsApiReporter docs to link to new suite and spec results
2017-08-09 10:36:53 -07:00
Gregg Van Hove
1926fc11ae
Add jsdocs for reporter events
2017-08-09 10:21:59 -07:00
Gregg Van Hove
80dba1138a
Add explicit docs for the callback function passed to it etc.
2017-08-08 17:28:36 -07:00
Gregg Van Hove
8ad9abb19a
Add arrayWithExactContents asymmetric matcher
...
- Fixes #817
2017-08-04 12:07:09 -07:00
Gregg Van Hove
8dd0ad531c
Merge branch 'ksvitkovsky-github-1403'
...
- Closes #1407 from @ksvitkovsky
- Fixes #1403
2017-08-04 09:55:09 -07:00
Gregg Van Hove
4d18e63b0f
Merge branch 'ksvitkovsky-github-1180'
...
- Closes #1404 from @ksvitkovsky
- Fixes #1180
2017-08-04 09:34:16 -07:00
Gregg Van Hove
acc8c23bf4
Merge branch 'theefer-fix-map+set-comparison'
...
- Merges #1406 from @theefer
- Fixes #1402
2017-08-04 09:23:31 -07:00
Gregg Van Hove
b256741bec
bump version to 2.7.0
2017-07-27 17:47:20 -07:00
Gregg Van Hove
1d4a2b5c22
Merge branch 'user-context' of https://github.com/darthjee/jasmine into darthjee-user-context
...
- Merges #1400 from @darthjee
2017-07-26 17:18:02 -07:00
Gregg Van Hove
543e056056
Merge branch 'jberney-master'
...
- Merges #1399 from @jberney
2017-07-24 17:13:21 -07:00
Gregg Van Hove
22e9d6df20
PrettyPrinter allows an object to have a toString that isn't a function
...
- Fixes #1389
2017-07-17 22:01:06 -07:00
Alpha Chen
aa72b0b7cf
Simplified rounding code in toBeCloseTo
...
Signed-off-by: Steve Gravrock <sgravrock@pivotal.io >
2017-06-26 10:22:54 -07:00
Alpha Chen
9f3952ff87
Merge branch 'vanduynslagerp-fix-tobecloseto'
...
- Fixes #1382
Signed-off-by: Alpha Chen <achen@pivotal.io >
2017-06-26 10:21:13 -07:00
Steve Gravrock
585287b9d6
When stop on failure is enabled, skip subsequent it() and beforeEach().
...
Note: afterEach() functions are still run, because skipping them is
highly likely to pollute specs that run after the failure.
[Finishes #92252330 ]
- Fixes #577
- Fixes #807
2017-06-19 13:48:43 -07:00
Gregg Van Hove
de862f8133
Only clear out the spec param for Run all link
...
- Fixes #1369
2017-06-16 14:07:40 -07:00
Gregg Van Hove
4e3ae726aa
Bump version to 2.6.4
2017-06-16 13:44:43 -07:00
Steve Gravrock
9ee7b4ee0b
Don't setTimeout() every time the stack is cleared via MessageChannel()
2017-06-16 09:58:41 -07:00