Commit Graph

7 Commits

Author SHA1 Message Date
Victor Woeltjen
6dea66558f [Framework] Include Promise polyfill in tests
Provide Promise polyfill in test runner. This allows tests
of objects which use Promise directly to be run in environments
which don't yet implement Promise (including command line
test environment.) Completing test suite for framework layer,
WTD-518.
2014-11-06 19:53:26 -08:00
Victor Woeltjen
b0bd9c5cf1 [Test] Fix command line testing
Change the way missing test suites are detected by
the test runner; PhantomJS (used for executing tests
from the command line build) does not appear to give
consistent HTTP status codes, so use a more general
try-catch mechanism.

Addresses an issue introduced during ongoing
development of framework layer, WTD-518.
2014-11-05 18:06:03 -08:00
Victor Woeltjen
a4f396b876 [Test] Ignore missing suites
Ignore bundles for which no test suites have been defined.
Used to support development of framework layer (don't
stall the test runner just because some bundle does not
have defined tests yet), WTD-518.
2014-11-05 14:10:46 -08:00
Victor Woeltjen
680e8c8cff [Tests] Change desired XHR response type
Don't request json as an XHR response type, as this
is not supported by Phantom for command line test
execution. Part of ongoing intitial repository and
build setup for WTD-519.
2014-10-31 09:56:17 -07:00
Victor Woeltjen
047d56d662 [Structure] Add comments to temporary files
Add clarifying comments to temporary files, to
ensure they are distinguishable as placeholders.
Part of developing project folder structure and
build for WTD-519.
2014-10-31 09:49:09 -07:00
Victor Woeltjen
0bf0912bf8 [Tests] Initial spec runner
Initial spec runner; looks in bundles, assumes conventions.
Supports initial repository set up and build scripts, for
WTD-519.
2014-10-30 17:24:30 -07:00
Victor Woeltjen
a753818b24 [Build] Initial test dependencies
Initial commit of test dependencies, as brought over
from prototype, to continue establishing build. WTD-519.
2014-10-30 16:04:38 -07:00