AssertJ-Swing

Fluent interface for functional GUI testing

License

License

GroupId

GroupId

org.assertj
ArtifactId

ArtifactId

assertj-swing
Last Version

Last Version

3.17.1
Release Date

Release Date

Type

Type

jar
Description

Description

AssertJ-Swing
Fluent interface for functional GUI testing
Project URL

Project URL

http://assertj.org/assertj-swing
Project Organization

Project Organization

AssertJ

Download assertj-swing

How to add to project

<!-- https://jarcasting.com/artifacts/org.assertj/assertj-swing/ -->
<dependency>
    <groupId>org.assertj</groupId>
    <artifactId>assertj-swing</artifactId>
    <version>3.17.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.assertj/assertj-swing/
implementation 'org.assertj:assertj-swing:3.17.1'
// https://jarcasting.com/artifacts/org.assertj/assertj-swing/
implementation ("org.assertj:assertj-swing:3.17.1")
'org.assertj:assertj-swing:jar:3.17.1'
<dependency org="org.assertj" name="assertj-swing" rev="3.17.1">
  <artifact name="assertj-swing" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.assertj', module='assertj-swing', version='3.17.1')
)
libraryDependencies += "org.assertj" % "assertj-swing" % "3.17.1"
[org.assertj/assertj-swing "3.17.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.assertj : assertj-core jar 3.17.2
com.google.code.findbugs : jsr305 Optional jar 3.0.2
org.easytesting : fest-reflect Optional jar 1.4.1

runtime (1)

Group / Artifact Type Version
org.easytesting : fest-util jar 1.2.5

test (5)

Group / Artifact Type Version
org.easytesting : fest-test jar 2.1.0
junit : junit jar 4.12
org.mockito : mockito-core jar 2.20.1
com.googlecode.multithreadedtc : multithreadedtc jar 1.01
nl.jqno.equalsverifier : equalsverifier jar 2.3.1

Project Modules

There are no modules declared in this project.

Test NG:

JUnit:

This project provides a simple and intuitive API for functional testing of Swing user interfaces, resulting in tests

that are compact, easy to write, and read like a specification. Tests written using AssertJ Swing are also robust.

AssertJ Swing simulates actual user gestures at the operating system level, ensuring that the application will behave correctly in

front of the user. It also provides a reliable mechanism for GUI component lookup that ensures that changes in the GUI's

layout or look-and-feel will not break your tests.

This project is a fork of https://github.com/alexruiz/fest-swing-1.x.

How to release

  1. Preconditions: You need ssh setup for being able to push to assertj/assertj-swing, gpg setup for signing the release and ossrh setup in Maven for being able to publish the release, including the right to publish assertj-swing releases.

  2. Make sure you have the latest sources: git pull

  3. Make sure you have a clean release base: mvn release:clean

  4. Prepare the release: mvn release:prepare

  5. Actually publish the release: mvn release:perform

  6. Sign in to github, click the tag, edit it and click publish (optionally insert change log here)

  7. Download updated JIDE (Password required. Click here to see the password. Please note, it's not your forum user name and password)

  8. Create temporary work space: mkdir /tmp/jide and cd /tmp/jide

  9. Unzip JIDE: unzip ~/Downloads/jide.X.Y.Z.eval.zip

  10. cd maven/

  11. Follow the readme:

  12. Download ant-contrib and copy jar file to current directory

  13. Download Apache common bean script and copy jar file to current directory

  14. Download Mozilla Rhino and copy jar file to current directory

  15. Download Commons logging and copy jar file to current directory

  16. Mavenify: ant -f mavenify.xml -lib .

  17. Integrate resulting maven repo into own maven repos: rsync -a repo/ ~/.m2/repository/

  18. Go to assertj-swing/assertj-swing-jide/pom.xml and enter downloaded version: <jide.version>X.Y.Z</jide.version>

  19. Update parent POM (AssertJ Swing) version to currently (see 5.) released version

  20. Fix potentially broken code - use mvn clean verify -f assertj-swing-jide/pom.xml to verify

  21. Update POM version, commit and push changes

  22. Release assertj-swing-jide:

  23. cd assertj-swing-jide

  24. Clean state: mvn release:clean

  25. Preapre: mvn release:prepare

  26. Perform: mvn release:perform

  27. Update documentation - pull assertj/doc

  28. Update at least src/docs/asciidoc/user-guide/assertj-swing-release-notes.adoc

  29. File PR for documentation update. Finished!

org.assertj

AssertJ

Versions

Version
3.17.1
3.17.0
3.9.2
3.8.0
3.7.0
3.6.0
3.5.0
3.4.0
3.3.0
3.2.0
3.1.1
3.0.2
3.0.1
3.0.0
2.3.0
2.2.0
2.1.1
2.1.0
2.0.2
2.0.1
2.0.0
1.2.0
1.1.0
1.0.0