Sheel Choksi
13e0dd27c9
Narrow down raise exceptions query selector
...
Finding by any input tag is a little bit broad [#605 ]
2014-06-06 22:20:18 -07:00
slackersoft
f0892a55aa
report when an async afterAll doesn't call in time
2014-06-06 18:41:06 -07:00
Sheel Choksi
fc6603e99f
Merge pull request #580 from pablofiu/detailedGeneralWorkflow
...
added detailed steps on how to contribute coding
2014-06-02 23:04:35 -07:00
Luke van der Hoeven
07cce0b1d1
clear prior test results on multiple inits
2014-05-23 15:59:56 -04:00
Luke van der Hoeven
6750559211
failing spec for multiple inits
2014-05-23 15:58:09 -04:00
Pablo Alejandro Fiumara
0419780682
added detailed steps on how to contribute coding
2014-04-25 01:18:38 -03:00
Gregg Van Hove
6066c71966
Add failing specs for expectation failures in afterAll
2014-04-18 16:37:27 -07:00
Gregg Van Hove
0d4b04d37c
rename afterAllException to afterAllError
...
It should also handle expectation failures
2014-04-18 16:00:02 -07:00
Javen Wang
7ad261837a
disabled suite should still call onStart callback
2014-04-12 00:35:47 +08:00
Sheel Choksi
00c8e37257
Pass through custom equality testers in toHaveBeenCalledWith [ fixes #536 ]
2014-03-26 22:19:03 -07:00
Christopher Amavisca and Davis W Frank
e53b487017
- Add a main entry point for the jasmine-core npm
...
- jasmine-core can now self test with the jasmine-npm
- Add node examples files
- Add node_boot.js for node environment
- Move jasmine-core npm packaging to .npmignore
- removing src_dir and src_files from jasmine.json b/c jasmine-npm does not support requiring source files automatically.
2014-03-21 17:21:52 -07:00
Sheel Choksi
ed5cd6ba2c
Merge pull request #550 from slothmonster/fix-copyright-year
...
Fix outdated copyright year (update to 2014)
[skip ci]
2014-03-16 18:36:21 -07:00
Greg Cobb and Luan Santos
213a6023fd
Add package.json to egg to get correct version number
...
[#67556148 ][#551 ]
2014-03-14 10:51:26 -07:00
Adam Deibert
7d220fcd1b
Fix outdated copyright year (update to 2014)
2014-03-14 01:42:39 -07:00
Greg Cobb and Luan Santos
c1382c77b4
Enable bundler cache
2014-03-12 13:46:25 -07:00
Greg Cobb and Luan Santos
311263a3df
Fix build in IE8 (IE8 doesn't support Object.freeze)
2014-03-12 13:45:46 -07:00
mikemoraned
33e4f5efbe
Allow users to set the maximum length of array that the pretty-printer
...
will print out.
Currently, jasmine's pretty printer will iterate over an entire array,
formatting every element recursively. For very large arrays, this can
crash the page, or cause a 'slow script' warning.
This commit exposes a 'MAX_PRETTY_PRINT_ARRAY_LENGTH' option. If an
array larger than this is encountered, recursion will stop and the
array length will be printed instead e.g. "Array[20000000]".
The 'MAX_PRETTY_PRINT_ARRAY_LENGTH' option defaults to 100. This is
length of array will not kill your browser, but will allow you
to see big arrays, if you can stomach the output.
2014-03-12 12:16:01 -07:00
Greg Cobb and Luan Santos
367d3dcf66
Rebuild distribution
2014-03-12 11:51:49 -07:00
Greg Cobb and Luan Santos
21de44a204
Remove space between key and colon when pretty printing objects
...
[#4005255 ]
2014-03-12 11:47:47 -07:00
Greg Cobb and Luan Santos
c9e37a2a1c
Refactor prettyPrinter to work with immutable objects
...
[#50766813 ][#266 ]
2014-03-12 11:41:18 -07:00
Davis W. Frank
9e927af56e
Merge pull request #548 from pivotal/python
...
Create jasmine-core python egg
2014-03-11 14:05:45 -07:00
Greg Cobb
fc173e9a5e
Add logo image to readme
2014-03-11 13:54:47 -07:00
Greg Cobb
62a7f64659
Update readme with correct code climate link
2014-03-11 13:49:51 -07:00
Greg Cobb and Luan Santos
3e739e4bc9
Create jasmine-core python egg
2014-03-11 13:40:28 -07:00
Greg Cobb and Luan Santos
ba6f99423f
Add jasmine logo image to html runner
...
[#3984585 ]
2014-03-10 17:16:31 -07:00
Christopher Amavisca, Greg Cobb and Luan Santos
3a5672cd33
Show message if no specs are found in console reporter
...
[#12784235 ]
2014-03-10 12:00:49 -07:00
Christopher Amavisca, Greg Cobb and Luan Santos
af4cc76e2a
Show message if no specs are found
...
[#12784235 ]
2014-03-10 11:23:27 -07:00
Christopher Amavisca, Greg Cobb and Luan Santos
1922514f2d
Specs without expectations should be alerted to the user
...
- Add console.error to the HtmlReporter when there is a spec without any expectation
- Change the spec's link text and color to include a warning
- Create a status for specs to label them as "empty"
- console is not accessible to IE unless you have developer tools open,
so protect against that by mocking console.
[#59424794 ]
2014-03-10 11:19:07 -07:00
Christopher Amavisca and Greg Cobb
668846147c
Fix issues with displaying error messages for afterAll (browser compatibility)
...
- Switch from showing error stack to showing message/description since only chrome/ff support stack
- Fallback to error.description if error.message is undefined
- Made exceptionList variable name consistent between both reporters
2014-03-06 18:25:49 -08:00
Christopher Amavisca and Greg Cobb
76fafa0388
Deprecate suite/spec ordering hook .
...
- Remove parameter from env.execute()
- Remove deprecated test
- Set runnablesToRun to always start with the topSuite
[#66789174 ]
2014-03-06 16:54:53 -08:00
Christopher Amavisca and Greg Cobb
bed1c15ea4
HtmlReporter shows error alerts for afterAllExceptions
...
-Add list of exceptions in HtmlReporter to push to on error
-Create alerts for each exception in the list (with stack trace)
[#67055688 ]
2014-03-06 15:39:04 -08:00
Christopher Amavisca and Greg Cobb
6caf4c5de2
Print afterAllExceptions to the console.
...
- Add afterAllException function to ConsoleReporter
- Print the stack traces of the errors at the end of the console output
[#67055730 ]
2014-03-06 15:02:55 -08:00
Christopher Amavisca and Greg Cobb
97ae9a2d88
After all exceptions dispatch to reporter hook
...
- Add 'afterAllException' hook to reporter dispatch, we might want to make this more generic in the future
- Add afterAllException function to HtmlReporter
[#66789174 ]
2014-03-06 12:01:37 -08:00
slackersoft
71dbffeaef
Merge branch 'recursive-containing' of https://github.com/cbandy/jasmine into cbandy-recursive-containing
2014-03-05 21:01:34 -08:00
Christopher Amavisca and Greg Cobb
a3c3505086
beforeAll can have expectations and passes expectation failures to its children
...
[#66789174 ]
2014-03-05 16:27:58 -08:00
Christopher Amavisca and Greg Cobb
a9e0112a9b
Throw error if you add a custom matcher or equality outside of a runnable
...
[#66789174 ]
2014-03-05 14:37:17 -08:00
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
Rajan Agaskar
9c6d03d3ac
README.md: Add link to Jasmine 2.0 release notes
...
- To help people upgrading find a list of what they'll need to change.
2014-03-05 11:31:39 -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
Chris Bandy
47884032ad
Fix ObjectContaining to match recursively
...
matchersUtil.equals() does not expect a matcher as its first argument,
so send the "actual" value first and the "expected" value second.
2014-03-02 11:42:37 -06:00
slackersoft
d7053612f5
Build distribution to include MockDate
...
- Forgot to do this when merging the pull request
- Also fix quotes for string to match jshint rules
2014-03-01 13:18:15 -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