You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With gradle plugin, we have three tasks for tests, one for integration tests (systemtest) and two others for unit testing of perl and java (GWT) code (unittest & test).
Solely purpose of unit tests is to make them run as fast as possible, and independent from working environment (Flow Server & Agent).
For integration testing (which use EF & Agent), we have separate tests, which are based on ntest framework, and which we are actively using in our CI procedures.
I've made modifications to support java-based system tests in or new CI system, but please, note, that system tests is more preferred way for us to do integration testing. So, in future, please, use ntest framework. Ask me, if you have any questions on how to setup CI tests with ntest.
The text was updated successfully, but these errors were encountered:
@bva Vitaliy, Could you provide exact steps for running the java-based system tests in the CL builds?
Is there an expected location for the files required for running the system tests? Should the location for the java/groovy test classes for system tests be registered under a different sourceset in build.gradle?
Java tests in this plugin uses EF server & agent (that's what we have in CI), and Chef. But, we don't have Chef environment to run them. Hence, first we need to setup working environment. For external applications we use docker, and for agents we use prebuilt VM image with CentOS. That's why we need first two steps to be done before talking about test configuration files.
With gradle plugin, we have three tasks for tests, one for integration tests (systemtest) and two others for unit testing of perl and java (GWT) code (unittest & test).
Solely purpose of unit tests is to make them run as fast as possible, and independent from working environment (Flow Server & Agent).
For integration testing (which use EF & Agent), we have separate tests, which are based on ntest framework, and which we are actively using in our CI procedures.
I've made modifications to support java-based system tests in or new CI system, but please, note, that system tests is more preferred way for us to do integration testing. So, in future, please, use ntest framework. Ask me, if you have any questions on how to setup CI tests with ntest.
The text was updated successfully, but these errors were encountered: