-
-
Notifications
You must be signed in to change notification settings - Fork 244
Getting_started
Johan Haleby edited this page Aug 7, 2024
·
34 revisions
Maven:
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>4.2.2</version>
<scope>test</scope>
</dependency>
Gradle:
testImplementation 'org.awaitility:awaitility:4.2.2'
Note that Android developers may wish to replace testImplementation
with androidTestImplementation
.
The Kotlin DSL adds some useful extension functions (it's not required to use Awaitility from Kotlin).
Maven:
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility-kotlin</artifactId>
<version>4.2.2</version>
<scope>test</scope>
</dependency>
Gradle:
testImplementation 'org.awaitility:awaitility-kotlin:4.2.2'
Maven:
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility-scala</artifactId>
<version>4.2.2</version>
<scope>test</scope>
</dependency>
SBT:
val awaitility-scala = "org.awaitility" % "awaitility-scala" % "4.2.2"
Gradle:
testImplementation 'org.awaitility:awaitility-scala:4.2.2'
Maven:
<dependency>
<groupId>org.awaitility</groupId>
<artifactId>awaitility-groovy</artifactId>
<version>4.2.2</version>
<scope>test</scope>
</dependency>
Grapes:
@Grapes(
@Grab(group='org.awaitility', module='awaitility-groovy', version='4.2.2')
)
Gradle:
testImplementation 'org.awaitility:awaitility-groovy:4.2.2'
Download Awaitility and put it in your class-path. You may also need to download the Hamcrest 2.1 and put it in your classpath as well. Scala users must also download awaitility-scala and Groovy users must download awaitility-groovy. Kotlin users may download awaitility-kotlin for additional extension functions.
When you've successfully downloaded and configured Awaitility in your classpath please refer to the usage guide for examples.