ramverma | af74a62 | 2018-07-31 18:25:39 +0100 | [diff] [blame] | 1 | // |
| 2 | // ============LICENSE_START======================================================= |
| 3 | // Copyright (C) 2016-2018 Ericsson. All rights reserved. |
| 4 | // ================================================================================ |
| 5 | // This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE |
| 6 | // Full license text at https://creativecommons.org/licenses/by/4.0/legalcode |
| 7 | // |
| 8 | // SPDX-License-Identifier: CC-BY-4.0 |
| 9 | // ============LICENSE_END========================================================= |
| 10 | // |
| 11 | // @author Sven van der Meer (sven.van.der.meer@ericsson.com) |
| 12 | // |
| 13 | |
| 14 | == Build with all Tests |
| 15 | |
| 16 | Use Maven to for a standard build with __all__ tests. |
| 17 | |
| 18 | [IMPORTANT] |
| 19 | .Some tests have specific timing Requirements |
| 20 | ==== |
| 21 | Some of the tests have very specific timing requirements. |
| 22 | If run on a low-powered build machine, or if the build machine is on high load, those tests might fail and the whole build might fail as well. |
| 23 | If this happens, reduce the load on your build machine and restart the build. |
| 24 | ==== |
| 25 | |
| 26 | [IMPORTANT] |
| 27 | .Might require specific software |
| 28 | ==== |
| 29 | When running all tests, some modules require specific software installed on the build machine. |
| 30 | For instance, testing the full capabilities of context (with distribution and persistence) will require Hazelcast and Infinispan installed on the build machine. |
| 31 | ==== |
| 32 | |
| 33 | [width="100%",options="header",cols="5a,5a"] |
| 34 | |==================== |
| 35 | | Unix, Cygwin | Windows |
| 36 | | |
| 37 | [source%nowrap,sh,numbered] |
| 38 | ---- |
| 39 | # cd /usr/local/src/apex |
| 40 | # mvn clean install -DallTests |
| 41 | ---- |
| 42 | | |
| 43 | [source%nowrap,bat,numbered] |
| 44 | ---- |
| 45 | >c: |
| 46 | >cd \dev\apex |
| 47 | >mvn clean install -DallTests |
| 48 | ---- |
| 49 | |==================== |
| 50 | |