소스 검색

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
tags/8.0.0.alpha6
Henri Sara 7 년 전
부모
커밋
92d697b988
1개의 변경된 파일25개의 추가작업 그리고 0개의 파일을 삭제
  1. 25
    0
      uitest/build.xml

+ 25
- 0
uitest/build.xml 파일 보기

@@ -28,6 +28,31 @@
<get src="${vaadin.build.repository}/com/vaadin/vaadin-uitest/${vaadin.version}/vaadin-uitest-${vaadin.version}.war" dest="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war"/>
</target>

<!-- run both normal and server tests -->
<target name="test-all" depends="clean-testbench-errors">
<property name="war.file"
location="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war" />
<mkdir dir="${vaadin.basedir}/result" />
<parallel>
<daemons>
<ant antfile="${uitest.dir}/vaadin-server.xml"
inheritall="true" inheritrefs="true" target="deploy-and-start" />
</daemons>
<sequential>
<ant antfile="${uitest.dir}/vaadin-server.xml"
target="wait-for-startup" />
<ant antfile="${uitest.dir}/tb3test.xml" target="run-all-tb3-tests"
inheritall="true" />
<!-- within sequential for now not to cause problems with result parsing in CI -->
<ant antfile="${uitest.dir}/integration_tests.xml"
target="integration-test-all" inheritall="false"
inheritrefs="false">
<property name="demo.war" value="${war.file}" />
</ant>
</sequential>
</parallel>
</target>

<target name="test-server" depends="clean-testbench-errors">
<property name="war.file"
location="${vaadin.basedir}/uitest/target/vaadin-uitest-${vaadin.version}.war" />

Loading…
취소
저장