Commit Graph

48 Commits

Author SHA1 Message Date
Teemu Suo-Anttila
53674a7caf Refactor testing of the framework (#8393)
* Integration tests moved from uitest to separate test modules
* Run TB4 tests with maven profile
* Remove old ant/ivy build scripts from uitest
* Add 'needs-ssh' test category for reconnection test
* Add default values for testing and validation builds
* Add placeholder build.xml with instructions to run Maven
2017-02-01 17:17:15 +02:00
Henri Sara
92d697b988 Add target test-all for UI tests
The target allows running both normal and server integration tests
without cleaning the screenshot directory in between.

Change-Id: Ic0d5db325b831114434a83c7d77be36ac8b20a61
2016-11-01 10:54:21 +02:00
Artur Signell
2ac56631c0 Do not start local Jetty for server tests
Change-Id: I1ef92966108aee8ee6475df9efacc53ed9865560
2016-05-13 11:05:30 +00:00
Henri Sara
204afbceaa Use classes compiled with Maven in uitest
Remove recompilation of test classes with Ant and minor cleanup.

Change-Id: Ibe57be753d12558229a9d0b83a9eef16f57b46be
2016-04-23 09:41:39 +03:00
Henri Sara
d05dbeb873 Run checkstyle with Maven
Change-Id: I8590d2161d027827a5037f0b371ec620cea61733
2016-04-22 15:46:48 +03:00
Henri Sara
24dc79e24b Make sure parent directories of WAR fetch destination exist
Change-Id: Ie10504af2a8e06540e6b6e527a7f8d730bae8d4e
2016-04-19 11:28:44 +03:00
Henri Sara
53330e6d53 Add target to fetch uitest WAR
Change-Id: I344e7f10caac0cc38947a0de194cead533df32c1
2016-04-19 07:40:42 +00:00
Henri Sara
c162767ef3 Use parameter for uitest Ivy repository
This allows CI builds to override the repository for Vaadin artifacts.

Change-Id: I0a85c16f1630ec8a3d29bd0ff42d7855f360ff88
2016-04-18 14:06:52 +03:00
Henri Sara
9beaf0fa7f Further Ivy/Ant cleanup
This change removes the top-level build.xml and some other Ivy/Ant
configuration entries.

Change-Id: I56fb1621a66ef190a72cfe1f9eb277bb878db4b5
2016-04-17 00:14:39 +03:00
Henri Sara
606457c856 Clean up obsolete Ivy/Ant confs/targets
This change removes publishing related Ivy files and Ant targets etc.

Further cleanup will be done in later changesets.

Change-Id: Ibe430495e85a1b0f3538072a4823c627ddac2924
2016-04-16 16:55:30 +03:00
Teemu Suo-Anttila
6b8412033e Build uitest war with maven
Change-Id: I32625901ca27a282253df44c6e776cf9632bacda
2016-04-15 14:00:58 +03:00
elmot
980f879176 Merge branch 'master' into feature/mavenize
Change-Id: Id7db526d07a14ac259cbb50415bbafd2a7c2ab94
2016-04-13 15:32:47 +03:00
Artur Signell
8c0733d756 Remove TB2 tests and integration tests for legacy servers/portals
Change-Id: I1c6d830c8a71674c264738f709ad12da3b91cd5c
2016-04-01 16:31:14 +03:00
elmot
dd69d1adb8 Build uitest with maven ant runner
Change-Id: Ia7ba1cb6b1c8c4e70b6e834d86feb6c161ab5a29
2016-04-01 12:28:49 +00:00
Teemu Suo-Anttila
1482d63643 Build vaadin-themes with maven
Change-Id: Ie40ea2c74358f6bf35a5a36a98561fd53fffe23f
2016-03-29 12:21:12 +03:00
Teemu Suo-Anttila
7b1a91f9ec Build vaadin-buildhelpers with maven
Change-Id: I1b67fdc7d32d57f98bca78dba4fa190950b94507
2016-03-24 09:51:59 +02:00
Teemu Suo-Anttila
a6653d3fe4 Migrate vaadin-server build to maven
Change-Id: I5c740f4e9cb28103bab199f9a552153d82277e7e
2016-03-14 07:59:12 +02:00
Artur Signell
cc4f755a6c Create a Valo icon font for icons used in Valo (#18472)
Valo uses only a handful of icons from Font Awesome. This change
introduces a separate icon font for valo (9KB instead of 80KB) and
decouples Valo from Font Awesome to enable updating Font Awesome
without taking Valo into account.

This change also makes it easy to not load Font Awesome when using Valo
by setting $v-font-awesome:false

For backwards compatibility, Font Awesome is loaded by default

Change-Id: Ib01e3cf34e2468c885fcb8c7859cd1d1af4491aa
2015-09-30 09:21:19 +00:00
Artur Signell
5ff8617c5c Avoid on-the-fly compilation when running tests (#15135)
Change-Id: I507cba331403cb268110dec1d523fb10f37c34c4
2015-05-11 17:31:06 +00:00
Artur Signell
3f46830b28 Fix release build
Change-Id: Ie915aeb31aff7a0c2f655ad9b54e00a582770984
2015-01-15 10:33:19 +02:00
Artur Signell
8361d1379c Reformat build files
Change-Id: Iab68be3e5d5e59bb05610677642a5715efe50feb
2015-01-15 08:56:10 +02:00
Jouni Koivuviita
1ceef27de9 Add a new variation for Valo
A new variation named “Light”, similar to iOS7 style.

Fix some valo-menu styles to accommodate the new light style better.

Change-Id: Ib7c396263db7838c972d75a6b79fed1caf7ca576
2014-08-19 14:48:25 +00:00
Artur Signell
702f00f865 Made Valo test UI deterministic and added TB test
Change-Id: I342fad836ad0d4014748a06c8ccfed53a99e6ece
2014-08-14 07:46:21 +00:00
Sauli Tähkäpää
314cc68e5d Fix WAR file location in uitest build scripts.
Change-Id: I0febbbaf85374c395454c889c36add277ca9b131
2014-05-21 12:18:27 +00:00
Sauli Tähkäpää
97622fd723 Added server launch wait to TB2 and TB3 test targets.
Change-Id: Iaa9feeedd1a2dbc879617c7b0dfedfeff36a7ba5
2014-03-12 10:10:30 +02:00
Sauli Tähkäpää
1e22aaf4df Added nojavadoc parameter, test-server, test-tb2, test-tb3 targets.
Change-Id: I3b0f4ebc247d0cdbf5d8cdd78c3088207e2f8e45
2014-03-10 08:10:10 +02:00
Henri Sara
09bc99697e Use more worker threads for widgetset compilation
Change-Id: Ib7ea54e7a06516acbd9cf3dd08dbbacaac2030f9
2014-02-27 12:19:17 +00:00
Artur Signell
dde6a4893d Output test results in XML reports instead of to standard output
This is a workaround for a problem with the integrated TeamCity JUnit
listener which is not thread safe. Without this the test results are
completely mixed up in TeamCity. For more information, see
http://youtrack.jetbrains.com/issue/TW-33176.

All standard JUnit test reports is put in result/reports. For uitest
there are three report directories: result/reports-tb2,
result/reports-tb3 and result/reports-integration to be able to clean
the directories before running a given type of tests.

This change is based on the separate fixes by John.

Change-Id: I2f0dee416f6745544636f2f3dcea0d0832ff8076
2013-11-18 12:40:30 +00:00
Artur Signell
a682e3b534 Refactored build scripts to support TB2, TB3 + integration tests (#12572)
* Main build configuration triggers unit tests for all modules and uitest/build.xml testbench tests in parallel
* uitest/build.xml triggers Jetty startup and integration (server) tests in parallel. After the server has started, TB2 and TB3 tests are run in parallel.
* Server integration tests for servlet containers are run using TB3 and the com.vaadin.tests.tb3.ServletIntegrationTests test suite.
* Portlet integration tests are still run using TB2 test scripts

Change-Id: Ie6bffd4e68b4889074e9c470faa3c65f923e55c4
2013-09-24 05:36:15 +00:00
Artur Signell
3d01d74aa4 Reduce Ivy resolver spam to a minimum (#12510)
Change-Id: Ie80f2bad49f38a2391a8a560825aceb19f82de0a
2013-09-04 21:04:11 +03:00
Leif Åstrand
22fcb44faf Include unobfuscated file used by test in the war (#12468)
Change-Id: Id90faf1dde880bb1aa51f9c337dca594f4993884
2013-09-04 08:20:24 +00:00
Artur Signell
5adb5c2cfa Include compatibility web.xml in uitest.war (#11688)
Change-Id: I4f500e37ef7b96e103d66c40fba152299516a55f
2013-06-11 06:19:00 +00:00
Artur Signell
37bc9e41db Reformatted using Ant editor (#12040)
Change-Id: If8afd65d5905302c64f12ef7f76ee7e63073c474
2013-06-10 20:21:56 +03:00
Artur Signell
9a3dc4e99c Formatted XML files using defined rules (#11956)
Change-Id: Iecd621321fdde29d2d89d910ba46e9dadee58995
2013-05-30 15:08:00 +00:00
Artur Signell
e6d506494c Renamed "tests" target to "test" and added "test-all" (#9998)
The "test" target runs all tests which do not require additional servers or setup. Can be run immediately after cloning the project.
The "test-all" target runs also integration tests and UI tests which require access to servers or additional setup.

Change-Id: I2f5371dc5be805ba12766c8187a2b58fbc7f7db4
2013-03-01 15:54:57 +02:00
Artur Signell
f09c12fd97 Imported and updated release notes builder (#10918)
Change-Id: Ie21d448f89d0fab6b7732a0137c80172e9da8e69
Ticket: 10918
2013-02-19 15:07:44 +00:00
Pekka Hyvönen
1042592911 Checkstyle for Vaadin #9065
* Validates that all java files contains a license file and fails the build if a license is missing
* For now runs a lot of checks with a severity less than error to avoid failing the build
* Outputs test results to TeamCity for reporting

Change-Id: I24ca9cd0646a4bc530ef3a183eef1bc4addc555d
2013-01-04 18:59:39 +02:00
Artur Signell
873f7b6204 Fixed typo 2012-09-11 18:39:39 +03:00
Artur Signell
9423847d1d Include TestingWidgetSet in war 2012-09-11 18:11:32 +03:00
Artur Signell
c4733c7f1a Really package sources also into war 2012-09-11 17:01:50 +03:00
Artur Signell
c46f51809a Include non-java files in test war 2012-09-11 15:43:43 +03:00
Artur Signell
853f589854 Include all required themes 2012-09-09 11:23:37 +03:00
Artur Signell
93ed08119c Generate pom artifacts and automatically publish to local Maven (#9299) 2012-09-09 11:23:22 +03:00
Artur Signell
e50ca7fe96 Include compiled TestingWidgetSet in war (#9299) 2012-09-09 11:23:19 +03:00
Artur Signell
b2b384b531 Support running TestBench tests with the vaadin-uitest war (#9299)
Server is now launched using jetty-runner instead of a custom DemoLauncher
2012-09-09 11:23:12 +03:00
Artur Signell
e722b038d4 Client-compiled-cache artifact (#9299) 2012-09-09 11:23:10 +03:00
Artur Signell
1d6f0611a8 Added themes-compiled module (#9299) 2012-09-09 11:23:08 +03:00
Artur Signell
d8a5f96b36 Support running JUnit tests (#9299) 2012-09-09 11:23:04 +03:00