Commit Graph

41 Commits

Author SHA1 Message Date
Thomas Aylott 91821007ed benchmark runner 2014-01-06 12:26:40 -05:00
Thomas Aylott 60f2e45d2d fixes test runner for IE8 2013-12-05 16:27:26 -05:00
Paul O’Shannessy 9886e40395 Merge pull request #594 from spicyj/skip-spec
Allow running one spec/suite in the web interface
2013-11-27 11:54:31 -08:00
Ben Alpert 67c851792a Remove reference to old browser logger
The file was removed in 37bb9b76aba0deb445874273b93955ffb1c18bf8; this was giving a 404.
2013-11-24 01:04:09 -05:00
Ben Alpert 3a75d70501 Allow running one spec/suite in the web interface
This is the proper way to make it filter the spec list:

https://github.com/pivotal/jasmine/blob/1_3_x/spec/runner.html

I submitted the jasmine-jsreporter change as a pull request here:

https://github.com/detro/jasmine-jsreporter/pull/2

Fixes #563.
2013-11-24 00:53:29 -05:00
Thomas Aylott 646421f71f batch logs until the end unless ran with --debug 2013-11-18 16:37:46 -05:00
Thomas Aylott c4cd02efc5 fixes #513 2013-11-13 16:22:11 -05:00
Thomas Aylott 4daeda1490 log individual test results when in --debug mode 2013-11-13 16:22:11 -05:00
Thomas Aylott c1925db067 cleanup 2013-11-13 16:22:11 -05:00
Thomas Aylott b845134151 user JSON encoding for browser logger
Fixes a strange issue in IE
2013-11-13 16:22:11 -05:00
Thomas Aylott 37bb9b76ab remove old browser logger 2013-11-13 16:22:10 -05:00
Thomas Aylott e3ced21c9d postDataToURL using ajax instead of DOM 2013-11-13 16:22:10 -05:00
Thomas Aylott f289e9862a rename sauce-harness to index 2013-11-06 17:29:00 -05:00
Thomas Aylott 5fa707534a ignore generated file
Running the tests shouldn't make git status dirty.
2013-11-06 17:15:38 -05:00
Thomas Aylott c9401be38e replace phantom-harness runner with webdriver 2013-11-06 16:44:03 -05:00
Thomas Aylott b922d8d8a6 move browser test libs to lib folder 2013-11-06 16:43:20 -05:00
Thomas Aylott 2d6a8391bf Not necessary anymore 2013-11-06 15:32:39 -05:00
Thomas Aylott dfb4dde8fd keep track of incomplete 2013-11-06 15:30:52 -05:00
Thomas Aylott 159d64ddd3 cleanup 2013-11-06 15:30:52 -05:00
Thomas Aylott 93c0a46a1d upgraded sauce harness
Lost jasmine directly instead of using a module builder because it was failing in IE8
2013-11-06 15:30:51 -05:00
Thomas Aylott 46e86df420 move html reporter and its requirements 2013-11-06 15:30:51 -05:00
Thomas Aylott d64f34b5d8 inserted iframes can be targeted after a delay 2013-11-06 15:30:50 -05:00
Thomas Aylott c4727944df Simple test result logger 2013-11-06 15:30:50 -05:00
Thomas Aylott 3df6942cde SauceLabs Browser testing via Travis 2013-11-06 15:30:50 -05:00
Thomas Aylott fc572832b1 Absolute urls for less flakiness 2013-11-06 15:30:49 -05:00
Thomas Aylott 46c0aeea67 Fixed paths for phantomjs 2013-11-06 15:30:49 -05:00
Thomas Aylott a447f53b00 Make it easier to repro tests in the wild 2013-11-06 15:30:49 -05:00
Thomas Aylott 24ec78fd52 Testing-ci can't handle spaces in filenames? 2013-11-06 15:30:49 -05:00
Thomas Aylott 1393e55d53 include the built files for testling 2013-11-06 15:30:49 -05:00
Thomas Aylott b867aa0410 Format test results as TAP 2013-11-06 15:30:49 -05:00
Thomas Aylott 8205c681eb serve worker.js from its actual relative path 2013-11-06 15:30:49 -05:00
Thomas Aylott c4ba8f8997 Browser test runner 2013-11-06 15:30:49 -05:00
Ben Alpert 3dc1074908 Test that React loads properly in a web worker
This should catch top-level uses of `window` and `document`, while lint rules catch `global`.
2013-09-27 14:38:11 -07:00
Ben Newman 0441d4c7f5 Rename removeSiblings to removeNextSiblings. 2013-07-19 14:18:44 -04:00
Ben Newman 36fbd8d941 After each test, remove any stray nodes added to the document.
This was not necessary when we were running each test in its own
`<iframe>`, and it doesn't seem to affect any test behavior currently, but
it seems wise for the sake of test isolation and hygiene.
2013-07-19 13:53:15 -04:00
Ben Newman 5beb481145 Abandon <iframe> test isolation hack now that we have dumpCache.
This cuts the running time of `grunt phantom:run` from 4.4s to 3.1s on my
machine, because we no longer have to load/execute a separate instance of
`react-test.js` in a separate `<iframe>` for each test.
2013-07-19 11:10:02 -04:00
Ben Newman 0827646695 Use populist for building jasmine test harness package.
We're using populist for building the bundle of test modules and their
dependencies, so it seems worthwhile for consistency to do the same for
the test harness.
2013-07-16 14:48:31 -04:00
Ben Newman 906b8f3f95 Create testing <iframe>s dynamically, according to grunt config. 2013-06-03 13:20:13 -04:00
Ben Newman 6cfa71a3c2 Run each test in an <iframe>. 2013-06-03 13:20:13 -04:00
Ben Newman f8af93237a Use bin/jsx and browserify to build a jasmine bundle. 2013-06-03 13:20:13 -04:00
Paul O’Shannessy 75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00