Colin O'Byrne and JR Boyens
8f5d0beb8c
[Finishes #45476285 ] Add timeout support to async tests
2013-07-23 17:07:02 -07:00
Colin O'Byrne and JR Boyens
9609aba25f
[Finishes #52959947 ] Warn user about spy conflicts; Refactor spy tests to more reflect responsibilities and removed duplicate tests
2013-07-23 17:00:30 -07:00
Colin O'Byrne and JR Boyens
30aec66ce5
[Finishes #14177231 ] copy properties onto spy
2013-07-22 14:54:43 -07:00
Colin O'Byrne and JR Boyens
663a58d617
[Finishes #51528655 ] spies should support and.stub()
2013-07-22 14:39:06 -07:00
Davis W. Frank & Sheel Choksi
3847557bbc
Squashed spy refactor and new spy syntax
...
Jasmine spies now have a 'and' property which allows the user to
change the spy's execution strategy-- such as '.and.callReturn(4)'
and a 'calls' property which allows inspection of the calls a spy
has received.
* This is a breaking change *
There is a CallTracker that keeps track of all calls and arguments
and a SpyStrategy which determines what the spy should do when it
is called.
2013-07-22 14:29:52 -07:00
Colin O'Byrne and JR Boyens
18c30566bd
Move from global to Env
2013-07-22 14:29:52 -07:00
Colin O'Byrne and JR Boyens
f2306729cd
Improve isIE check to allow us to check for a minimum version
2013-07-22 14:22:38 -07:00
Colin O'Byrne and JR Boyens
2165d71dc5
Update matrix for Safari 5
2013-07-22 14:04:23 -07:00
Greg Cobb and JR Boyens
8c1881053c
Resolve remaining test issues
2013-07-22 11:57:47 -07:00
Sheel Choksi
61a1f93488
Older IE fixes
...
Still not green, but getting close. Summary of Older IE discrepancies:
- Older IE doesn't have apply/call on the timing functions
- Older IE doesn't allow applying falsy arguments
- Older IE doesn't allow setting onclick to undefined values
- Older IE doesn't have text property on dom nodes
2013-07-21 19:44:47 -07:00
Sheel Choksi
d4f78922cd
Update built distribution, it's a few commits behind
2013-07-21 18:36:12 -07:00
Sheel Choksi
04ac41d911
Fix phantomjs by using fnNameFor
...
Phantomjs's execptions toString include a ': ' at the end, so instead
use the exception's name property
2013-07-21 15:34:44 -07:00
Sheel Choksi
75b9dc64af
Add in Safari version number since that seems to get Sauce to run it
2013-07-21 12:34:35 -07:00
Davis W. Frank
2d7fe0b6ce
Merge pull request #388 from sheelc/html_self_test
...
Have Jasmine HTML use the source files in specs
2013-07-21 10:33:26 -07:00
Davis W. Frank
44feee57ac
Merge pull request #394 from albertandrejev/ObjectContaing-message
...
ObjectContaining wrong filed value error message
2013-07-21 10:30:45 -07:00
Davis W. Frank
1394899c3c
Even more explanation. Closes #396 .
2013-07-21 08:27:01 -07:00
Davis W. Frank
d0825a37a3
Cleaning up with latest command line tools
2013-07-21 07:53:50 -07:00
Davis W. Frank
fc3d08bf40
Merge pull request #397 from valera-rozuvan/remove_unnecessary_parameter_to_function_call
...
Removed unnecessary parameter from suiteFactory() call.
2013-07-21 07:41:22 -07:00
JR Boyens
990cc41f45
Remove debugger statement
2013-07-19 18:55:07 -07:00
JR Boyens
03ffe5ce6a
DRY up some sopping wet code
2013-07-19 18:51:05 -07:00
Greg Cobb and JR Boyens
1b0b4f22a0
Fix IE10
2013-07-19 17:34:04 -07:00
Greg Cobb and JR Boyens
a6953df28c
Add corrected tunnel identifier
2013-07-19 15:13:41 -07:00
Greg Cobb and JR Boyens
5e71f3031e
Update broken travis.yml
2013-07-19 15:04:40 -07:00
Greg Cobb and JR Boyens
4ea4ed25ee
Revert previous change
2013-07-19 14:29:35 -07:00
Greg Cobb and JR Boyens
39d40a1cad
Come on Travis... build it
2013-07-19 14:14:24 -07:00
Greg Cobb and JR Boyens
d40e0cebac
Use Sauce Labs to test Jasmine against a metric ton of browsers
2013-07-19 11:29:12 -07:00
Greg Cobb and JR Boyens
89a54ea2bb
Hacking the Gibson
2013-07-18 17:29:33 -07:00
Greg Cobb and JR Boyens
bc9c857f43
Valid YAML again
2013-07-18 17:12:39 -07:00
Greg Cobb and JR Boyens
24a7f55fa6
DEBIAN env variable is defined on the OS X host as well
2013-07-18 17:11:10 -07:00
Greg Cobb and JR Boyens
182cff4bd4
Build matrix tweak
2013-07-18 17:05:05 -07:00
Greg Cobb and JR Boyens
5dce5b1272
Try multi-language OS X build
2013-07-18 16:57:01 -07:00
Greg Cobb and JR Boyens
7c17b06856
Make chromedriver executable
2013-07-18 16:42:48 -07:00
Greg Cobb and JR Boyens
6569176cc9
Run specs on multiple browsers
2013-07-18 16:32:33 -07:00
Greg Cobb and JR Boyens
0f803430e4
Testing out travis changes
2013-07-18 15:30:04 -07:00
Greg Cobb and JR Boyens
821f13dff5
Don't refer to window for the sake of Node specs
2013-07-18 13:59:25 -07:00
Greg Cobb and JR Boyens
3e2d9baec2
[Finishes #40853563 ] Allowed the DelayedFunctionScheduler to support strings that are eval'd
2013-07-18 13:57:51 -07:00
Greg Cobb and JR Boyens
f637c1f833
Add images dir
2013-07-18 10:07:47 -07:00
Greg Cobb and JR Boyens
82b6904093
[Finishes #52810607 ] separate out the build standalone tasks
2013-07-18 09:51:27 -07:00
Greg Cobb and JR Boyens
0daae4d7b4
Update examples for 2.0
2013-07-16 10:00:16 -07:00
Sheel Choksi
f68657f14e
Have Jasmine HTML use the source files in specs
...
Similar to the changes in Jasmine core and console, this gets the
HTML specs of Jasmine using j$ instead of jasmine so that they use
the source files instead of the built distribution
2013-07-13 23:36:29 -07:00
Sheel Choksi
c91df21a96
Detailed error messages in toThrow/toThrowError
...
- included what was thrown for failure messages in toThrow and toThrowError
- fixed typo from 'execption' to 'exception' in toThrowError failure messages
- clarified failure messages in toThrowError to include specific error types
[Fixes #52680709 ]
2013-07-12 23:24:50 -07:00
Sheel Choksi
5b986c953c
Remove symlinked boot.js from spec/support
...
[Finishes #52810587 ]
2013-07-11 21:29:28 -07:00
Sheel Choksi
a932320d6c
Merge pull request #401 from sheelc/async_queue_runner
...
Async queue runner fixes
2013-07-10 21:00:24 -07:00
Sheel Choksi
aabf8cec82
Specs/Suites wait for an async spec to finish
...
Go back to having all suites and specs run asynchronously so that
they properly wait for any async specs that there might be
2013-07-10 20:52:18 -07:00
Sheel Choksi
ccdcb293f4
Add back in forgotten 'env' to Env integration specs
...
As pointed out by @jdmarshall. Fixes #399
2013-07-07 21:56:26 -07:00
Sheel Choksi
ec7d58fce0
QueueRunner continues running functions in async case
...
Continue running functions even if an async spec throws an
exception during the synchronous portion of the spec
2013-07-07 21:56:26 -07:00
Davis W. Frank and Sheel Choksi
7f6b16ccf2
Only clear stack when QueueRunner is done with its functions
2013-07-03 15:20:45 -07:00
Sheel Choksi
34b8bf5fb0
Remove Env's calculation of executionTime
...
[#45659879 ]
2013-07-03 14:12:19 -07:00
Davis W. Frank and Sheel Choksi
179e54b9fb
Refactor suite timing out of Env and into each Reporter
...
[finishes #45659879 ]
2013-07-03 09:30:05 -07:00
Davis W. Frank and Sheel Choksi
09fe7b0540
Have QueueRunner run specs iteratively if possible, fallback to recursion for async specs
...
This prevents the stack from growing as large for the normal cases and is giving a significant speedup for the performance suite
2013-07-02 16:37:38 -07:00