Steve Gravrock
3e64ce3310
Removed property tests for MatchersUtil#equals
...
These might be useful for a function with a more restricted domain. But for
equals, which accepts two of literally anything, the short run was too short
to catch any problems and the long run tended to exceed the CircleCi timeout.
2021-07-03 08:37:15 -07:00
Steve Gravrock
0aee81cfb9
Remvoed checks for typed array support in the test suite
...
All supported browsers have all typed arrays except for Uint8ClampedArray,
BigInt64Array, and BigUint64Array.
2021-06-05 13:31:26 -07:00
Steve Gravrock
140225e7c3
Isolate specs that are flaky in browsers
...
* Don't run them in browsers in the regular CI build
* Run them in browsers in a special nightly build
* Run them in Node in the regular CI build
* Run them when developers manually run the suite
This should allow the regular CI build to give us a more useful signal,
while keeping us from losing sight of the flaky specs.
2021-05-15 07:44:25 -07:00
Steve Gravrock
9555cb9842
Pass Sauce tunnel identifier correctly
2021-04-17 16:14:45 -07:00
Steve Gravrock
82cc1083b6
Migrated from Travis to Circle CI
2021-04-17 11:34:56 -07:00
Surgie Finesse
37073e2768
Fix the review notices
2021-03-22 19:26:33 +10:00
Steve Gravrock
89331bb1bb
Fixed comparison between URL objects
...
* Fixes #1866
2020-11-21 13:47:44 -08:00
Steve Gravrock
53d8073707
Allow generator functions to be passed to .and.callFake
...
Fixes #1848 .
2020-08-29 13:15:14 -07:00
Steve Gravrock
fffb8abb24
Moved property tests to the main suite
...
Property tests can only run in Node, so they were previously in another
directory that only gets run in Node. Now they're next to the related
non-property tests and marked pending in the browser. This makes it more
likely that a developer who normally only runs tests in the browser will
notice and run them.
2020-01-11 10:49:37 -08:00
Steve Gravrock
4eded6ab61
Added basic property tests for matchersUtil.equals
...
* See #1764 from @dubzzz
* Property tests are only run in Node, not browser.
* The Travis build sets JASMINE_LONG_PROPERTY_TESTS to enable much more
thorough (but slow) testing.
2020-01-04 14:52:34 -08:00
Steve Gravrock
5a219da848
Added basic integration tests for all built-in matchers
2019-09-06 14:10:16 -07:00
Steve Gravrock
ba71989d4b
Fixed code formatting
2019-09-03 15:39:00 -07:00
Steve Gravrock
f8e5ea14bc
Fail the CI build if the promise returned from jasmineBrowser.runSpecs is rejected
2019-09-03 15:34:56 -07:00
Steve Gravrock
b2d9aab2b8
Use the same spec file pattern for both node and browser
2019-08-03 12:17:52 -07:00
Gregg Van Hove
3e888105f0
Calculate total suite run time inside the env and report in jasmineDone
2019-06-14 14:59:33 -07:00
Gregg Van Hove
0f4e53d0e6
Update ci script to pass linting
2019-06-12 12:15:34 -07:00
Gregg Van Hove
243adfd4ce
Use jasmine-browser-runner to execute browser tests
2019-06-12 11:33:14 -07:00
Gregg Van Hove
0644731680
Switch to using new jasmine-browser-runner to server files for local testing
2019-06-06 14:07:30 -07:00
Gregg Van Hove
994d11d4f3
update node CI script to work with SauceLabs
2019-03-25 17:56:06 -07:00
Steve Gravrock
9472df0db4
Added a basic set of async matchers
...
- Fixes #1447
- Fixes #1547
2018-06-04 21:07:44 -07:00
Elenore Bastian
12a47f05bf
Suite level errors all report the same way (on suiteDone)
...
- For `beforeAll`, `afterAll`, and declaration errors
[#150118881 ] #1409
Signed-off-by: Gregg Van Hove <gvanhove@pivotal.io >
2018-01-23 10:15:28 -08:00
Steve Gravrock
cf2f922e30
Merge branch 'master' into 3.0-features
2018-01-10 15:28:55 -08:00
Steve Gravrock
65b4499dec
In Jasmine's own tests, don't leak between jasmine and jasmineUnderTest
2017-12-20 12:08:22 -08:00
Steve Gravrock
bb0992bf5f
Added a toHaveClass matcher
...
[#153567695 ]
2017-12-11 15:59:59 -08:00
Steve Gravrock
a3cb010971
Removed remaining traces of the obsolete console reporter
...
[#80410262 ]
2017-11-07 20:09:04 -08:00
Zaven Muradyan
62f769767a
Add support for jasmine.any(Symbol).
...
The original asymmetric matcher code for Any did not work with symbols
since `symbolInstance instanceof Symbol` is actually `false` (but,
`symbolInstance.constructor` is `Symbol). This simply adds an extra
clause that explicitly checks for symbol (if available) like the other
primitive types.
Also added some missing specs for other types, like Map, Set, etc.
Fixes #1431 .
2017-10-23 20:07:56 -07:00
ksvitkovsky
4fc177d5ae
Better pretty printing for typed arrays
2017-08-04 09:33:05 -07:00
Gregg Van Hove
2ea4e9507c
Merge branch 'map-support' of https://github.com/rmehlinger/jasmine into rmehlinger-map-support
...
- Merges #1340 from @rmehlinger
- Fixes #1257
2017-05-19 14:19:14 -07:00
Steve Gravrock
9672689d40
Added support for ES2017 async functions
2017-05-12 14:42:14 -07:00
rmehlinger
5ee03f02ed
Add ES6 map support to Jasmine
2017-05-01 00:12:48 -07:00
Gregg Van Hove
5279e7a8c4
Checking for Set isn't browser dependant
2016-09-27 16:11:43 -07:00
Gregg Van Hove
8624a52ee0
Don't auto install phantom since it doesn't seem to work on travis
2016-09-07 15:48:20 -07:00
Gregg Van Hove
320c42b6cc
Run jasmine's specs randomly in node and performance specs
...
[#92249258 ]
2015-11-04 12:30:49 -08:00
Gregg Van Hove
df45b4fede
Run jasmine's specs in random order
...
[#92249258 ]
2015-11-04 12:06:28 -08:00
slackersoft
18eb6e2f36
Don't run npm package specs in browsers
2014-08-26 13:18:16 -07:00
slackersoft
ea57ad97cf
Add some tests to make sure we're packaging up the npm properly
2014-08-26 08:08:04 -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
Christopher Amavisca and Sheel Choksi
9d1e92f5e2
Clean up more remnants of dev_boot
2014-02-27 18:02:14 -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
Sheel Choksi
cb5aea1fcf
Fix builds by working around browser timing functions not being successfully overridden
2013-10-29 17:32:04 -07:00
Sheel Choksi
a3424ea265
Remove addCustomEqualityTester and addMatchers from global
...
These functions are available on the jasmine namespace
2013-10-24 14:00:05 -07:00
Sheel Choksi
d06da150de
Stop passing in queryString to HTMLReporter, it is unused
2013-10-23 11:06:42 -07:00
Davis W. Frank
5aaafed4d8
Move clock from global to jasmine; provide a function to access the clock.
2013-10-10 16:24:58 -07:00
slackersoft
e91d0341a4
Revert "Make addCustomEqualityTester available on jasmine global"
...
Oops, this made it on global object, not `jasmnie`
This reverts commit 144ff174f6 .
2013-10-06 11:11:46 -07:00
slackersoft
144ff174f6
Make addCustomEqualityTester available on jasmine global
...
- User shouldn't have to `jasmine.getEnv()` to add one
2013-10-06 11:05:35 -07:00
Gregg Van Hove and Tim Jarratt
a563e67015
Move selenium_runner.yml to spec/javascripts/support
...
- The selenium runner gem should support configurable path as the main
gem does so we don't need to do this. This workaround is kind of
gross.
2013-10-02 16:48:13 -07:00
Gregg Van Hove and Tim Jarratt
fab489851e
Fix paths for node specs
...
[#58126010 ]
2013-10-02 16:41:07 -07:00
Gregg Van Hove and Tim Jarratt
1c19b8e38a
Move spec files back out of spec/javascripts
...
- Jasmine gem allows us to specify a path to jasmine.yml via ENV
[finish #58126010 ]
2013-10-02 16:32:35 -07:00
Gregg Van Hove and Rajan Agaskar
5017d1a4f1
Make rake jasmine:ci run specs correctly.
...
- Will replace rake core_specs.
- Remove obsolete dependencies & files -- most of these were for build tasks we
are no longer using. Notably, rspec and spec_helper were deleted.
2013-09-25 10:11:02 -07:00
Davis W. Frank
ba55cb5e38
Mock clock now less intrusive, replacing global timer funcions only when clock is installed. [ Fixes #54168708 ]
2013-08-27 22:46:01 -07:00