Skip to content

Commit 25e47b7

Browse files
authored
Add TestFX and basic integration tests (#314)
* Add TestFX and basic integration tests * more ui tests * add emoji test
1 parent 768cb64 commit 25e47b7

File tree

4 files changed

+395
-1
lines changed

4 files changed

+395
-1
lines changed

.github/assets/EmojiDemo.png

-7.19 KB
Loading

.github/workflows/build.yml

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424

2525
- name: Build project
2626
run: |
27+
export DISPLAY=:90
28+
Xvfb -ac :90 -screen 0 1280x1024x24 > /dev/null 2>&1 &
2729
mvn -B -ntp verify -f rta
2830
2931
- name: Publish Snapshots

rta/pom.xml

+10-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,11 @@
3737
<version>5.9.2</version>
3838
<scope>test</scope>
3939
</dependency>
40+
<dependency>
41+
<groupId>org.testfx</groupId>
42+
<artifactId>testfx-junit5</artifactId>
43+
<version>4.0.18</version>
44+
</dependency>
4045
</dependencies>
4146

4247
<developers>
@@ -135,7 +140,11 @@
135140
<plugin>
136141
<groupId>org.apache.maven.plugins</groupId>
137142
<artifactId>maven-surefire-plugin</artifactId>
138-
<version>3.0.0-M5</version>
143+
<version>3.0.0-M7</version>
144+
<configuration>
145+
<trimStackTrace>false</trimStackTrace>
146+
<argLine>--add-opens javafx.graphics/com.sun.javafx.application=ALL-UNNAMED</argLine>
147+
</configuration>
139148
<dependencies>
140149
<dependency>
141150
<groupId>org.junit.jupiter</groupId>

0 commit comments

Comments
 (0)