Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
Tests switched to 2.0.1; added travis compilation script and updated …
Browse files Browse the repository at this point in the history
…README file
  • Loading branch information
mkrzyzanowski committed Dec 7, 2018
1 parent 6682ca7 commit 64646bf
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: java
jdk:
- oraclejdk8

addons:
apt:
packages:
- oracle-java8-installer

install: true

sudo: false
script:
- gradlew clean assemble
5 changes: 2 additions & 3 deletions Aem64/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apply plugin: 'io.qameta.allure'

sourceCompatibility = 1.8

def bobcatVersion = "2.0.0-SNAPSHOT"
def bobcatVersion = "2.0.1"

repositories {
mavenLocal()
Expand All @@ -31,7 +31,6 @@ dependencies {
compile group: 'com.cognifide.qa.bb', name: 'bb-aem-64', version: bobcatVersion
}


def profiles = [
'firefox' : 'firefox'
]
Expand Down Expand Up @@ -67,4 +66,4 @@ allure {
useJUnit5 {
version = '2.7.0'
}
}
}
24 changes: 21 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# Bobcat AEM tests
Contains integration tests and examples for Bobcat's AEM modules.

>:warning: **Important** :warning:
>
>Tests in this repo are still under development to be aligned with Bobcat 2.0 - for now to make them work, you need to have a working AEM instance and should have locally compiled [Bobcat sources](https://github.com/Cognifide/bobcat) from the `2.0.0-develop` branch.
Each folder contains tests for specific AEM version.

# Building and running tests

## Prerequisites
- running instance of AEM in correct version
- instance should be available at localhost:4502 with default user and password
- JDK 1.8
- Mozilla Firefox and Geckodriver added to PATH

## Building the project
Run the following:
```
./gradlew clean assembly
```

## Running tests
Run the following:
```
./gradlew clean test
```

0 comments on commit 64646bf

Please sign in to comment.