[FEATURE] Introduce UnitTests for JavaScript 57/48557/10
authorFrank Naegler <frank.naegler@typo3.org>
Fri, 10 Jun 2016 16:14:13 +0000 (18:14 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Mon, 20 Jun 2016 08:13:40 +0000 (10:13 +0200)
commitba0ffe33c67a0f7f4a111fe2b71800d6be3d69e6
tree9a4d0d320e210103fddfe8385428c56b16ed2fad
parent577886fc6364421e9e105aeb97bd2a0becf83d87
[FEATURE] Introduce UnitTests for JavaScript

This patch introduce UnitTests for JavaSscript.
It uses karma as test runner and jasmine as testing framework.
The tests running on travis with PhantomJS. Locally other browsers like Chrome,
Firefox, Safari or IE can be used as well.

Resolves: #76590
Releases: master
Change-Id: I171ed5f50943f8c30d71c7035b86814cf9cbcbbe
Reviewed-on: https://review.typo3.org/48557
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
.travis.yml
Build/package.json
typo3/sysext/backend/Tests/JavaScript/FormEngineValidationTest.js [new file with mode: 0644]
typo3/sysext/backend/Tests/JavaScript/GridEditorTest.js [new file with mode: 0644]
typo3/sysext/backend/Tests/JavaScript/IconsTest.js [new file with mode: 0644]
typo3/sysext/core/Build/Configuration/JSUnit/Bootstrap.js [new file with mode: 0644]
typo3/sysext/core/Build/Configuration/JSUnit/Helper.js [new file with mode: 0644]
typo3/sysext/core/Build/Configuration/JSUnit/karma.conf.js [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/master/Feature-76590-IntroduceUnitTestsForJavaScript.rst [new file with mode: 0644]