Skip to content

Commit

Permalink
Merge pull request #4 from meldmy/update_docks
Browse files Browse the repository at this point in the history
Update docks and fix Gradle java plugin
  • Loading branch information
meldmy authored Mar 11, 2019
2 parents b0b552b + 9b9747a commit 68f4732
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
35 changes: 31 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Testcontainers integration with Fluentlenium framework
Simple project with example how we can integrate [testcontainers](https://www.testcontainers.org/) Java library with [Fluentlenium](https://fluentlenium.com/) framework
A simple project with an example of how we can integrate [testcontainers](https://www.testcontainers.org/) Java library with [Fluentlenium](https://fluentlenium.com/) framework

![aaa](https://github.com/meldmy/testcontainers-fluentlenium/raw/master/readme/testcontainers-fluentlenium-logo.png)

Expand All @@ -8,9 +8,36 @@ Simple project with example how we can integrate [testcontainers](https://www.te
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

### Prerequisites
What do you need to have already installed:

Docker - please see [General Docker requirements](https://github.com/meldmy/testcontainers-fluentlenium/raw/master/readme/testcontainers-fluentlenium-logo.png)

###### Gradle settings:
Docker - please see [General Docker requirements](https://github.com/meldmy/testcontainers-fluentlenium/raw/master/readme/testcontainers-fluentlenium-logo.png)
Check your Docker version by as follows:
```
$ docker version
[Nice image with such info](https://www.google.com/url?sa=i&source=images&cd=&cad=rja&uact=8&ved=2ahUKEwjdsKvY9NfgAhVslIsKHfG1DMEQjRx6BAgBEAU&url=https%3A%2F%2Fwww.slideshare.net%2Farhan%2Fgeecon-2017-testcontainers-integration-testing-without-the-hassle&psig=AOvVaw2L_gwDEngKfT1xk-D0AbwX&ust=1551219387976806)
Client:
Version: 1.8.0
API version: 1.20
Go version: go1.4.2
Git commit: f5bae0a
Built: Tue Jun 23 17:56:00 UTC 2015
OS/Arch: linux/amd64
Server:
Version: 1.8.0
API version: 1.20
Go version: go1.4.2
Git commit: f5bae0a
Built: Tue Jun 23 17:56:00 UTC 2015
OS/Arch: linux/amd64
```
## Running the tests

Tests executed on a browser from a fixed, clean image.

Use the following Gradle command to run Fluentlenium test on Testcontainers:

```
./gradlew fluentleniumTest
```
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
plugins {
id 'eu.leontebbens.gradle.chromedriver-updater' version '1.6'
id 'java'
}

apply plugin: 'java'

repositories {
mavenCentral()
}
Expand All @@ -11,7 +12,7 @@ ext {
seleniumVersion = '3.14.0'
fluentleniumVersion = '3.7.0'
assertjVersion = '3.11.1'
testcontainersVersion = '1.10.5'
testcontainersVersion = '1.10.6'
}

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import static java.lang.Integer.parseInt;
import static org.junit.Assert.assertTrue;

@PageUrl("https://github.com/meldmy/fluentlenium-on-testcontainers")
@PageUrl("https://github.com/meldmy/testcontainers-fluentlenium")
public class GitHubRepositoryPage extends FluentPage {

@FindBy(css = ".social-count")
Expand Down

0 comments on commit 68f4732

Please sign in to comment.