Alex Treppass
5f34be446c
keeping track of passed expectations
2014-06-27 22:34:05 -07:00
Sheel Choksi
e1e49e8292
Bumping built distribution
2014-06-27 22:19:44 -07:00
paladox2015
ae94dd1bfa
Update json2.js
2014-06-27 10:51:02 +01:00
Lee Penkman
eb1bd25445
namespace html-reporter -> jasmine_html-reporter
2014-06-22 21:47:46 -07:00
Lee Penkman
aac6968ed8
Stop Jasmine's CSS affecting the style of the body tag
...
[fixes #600 ]
2014-06-22 21:47:07 -07:00
slackersoft
1bad048c15
Extract afterAll checking from queueRunner
2014-06-20 08:16:42 -07:00
Sheel Choksi
7d93541c09
Throw a more specific error when 'expect' is used without a currentSpec
...
If an async test has timed-out, there could still be some expectations
that are scheduled to run after the fact in which case curerntSpec will
be null. Rather than the type error that would result, we now indicate
that 'expect' was used at an unexpected time.
This also helps cases where an 'expect' is being used at a top-level,
showing an error message in the console for this case as well.
[fixes #602 ]
2014-06-06 23:49:58 -07:00
Drew Freyling
29aad761d9
Smushed with PNG Gauntlet.
2014-06-06 23:09:08 -07:00
Sheel Choksi
7d3de92cef
Merge pull request #594 from plukevdh/reporter-reset
...
HTML Reporter reset previous DOM when re-initialized
2014-06-06 22:59:52 -07:00
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