Skip to content

Simple demo application for winning insights on PaaS solutions.

Notifications You must be signed in to change notification settings

bhelfert/greetme-web

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

About

GreetMe Web is a trivial web frontend for GreetMe Server that allows a user to request a personalized greeting messages in his preferred language.

It is merely a simple demo application that was used for winning insights of the build, deployment, and management possibilities provided by PaaS solutions.

For more details, see the description of GreetMe Server.

Building the project

As this project functionally depends on its backend, GreetMe Server is started prior of integration testing. Therefore, a specific Docker Compose JUnit Rule is used. The library containing this JUnit Rule is available via Bintray. So the according repository needs to be added to your Maven setttings.xml file:

...
  </profiles>
    <profile>
      <id>bintray</id>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <repositories>
        <repository>
          <snapshots>
            <enabled>false</enabled>
          </snapshots>
          <id>bintray-palantir</id>
          <url>https://dl.bintray.com/palantir/releases</url>
        </repository>
      </repositories>
    </profile>
  </profiles>
...

Running Selenium WebDriver tests

To run these integration tests, you need to have Docker, Firefox 52+, and geckodriver installed.

Also, you need to have built a Docker image for GreetMe Server. Therefore, run mvn clean install && docker build -t greetme-server . in that other project.

Finally, you need to set the path to the geckodriver in this project's pom.xml - look for line:

<argLine>-Dwebdriver.gecko.driver=/path/to/geckodriver</argLine>

You can then run the tests by using the Maven profile selenium:

mvn verify -Pselenium

About

Simple demo application for winning insights on PaaS solutions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published