Skip to content

Commit

Permalink
Add TestFX and basic integration tests (#314)
Browse files Browse the repository at this point in the history
* Add TestFX and basic integration tests

* more ui tests

* add emoji test
  • Loading branch information
jperedadnr authored May 9, 2024
1 parent 768cb64 commit 25e47b7
Show file tree
Hide file tree
Showing 4 changed files with 395 additions and 1 deletion.
Binary file modified .github/assets/EmojiDemo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:

- name: Build project
run: |
export DISPLAY=:90
Xvfb -ac :90 -screen 0 1280x1024x24 > /dev/null 2>&1 &
mvn -B -ntp verify -f rta
- name: Publish Snapshots
Expand Down
11 changes: 10 additions & 1 deletion rta/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
<version>5.9.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testfx</groupId>
<artifactId>testfx-junit5</artifactId>
<version>4.0.18</version>
</dependency>
</dependencies>

<developers>
Expand Down Expand Up @@ -135,7 +140,11 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.0.0-M7</version>
<configuration>
<trimStackTrace>false</trimStackTrace>
<argLine>--add-opens javafx.graphics/com.sun.javafx.application=ALL-UNNAMED</argLine>
</configuration>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down
Loading

0 comments on commit 25e47b7

Please sign in to comment.