johndx / EccZooSimulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting Started

Installation Instructions

Having extracted the App from github, perform the following steps to build, configure and execute the App:

mvn clean install

./mvnw spring-boot:run

Testing Strategy

Unit Testing

  • Junit Tests for Domain classes are not required.
  • Spring Junit Tests for the integration tier are provided.

Integration Testing

Mock MVC Tests have been generated for the Web/Rest Tier, to exercise the REST API ( and subsequent tiers) , by using Mock API REST requests to emulate real REST requests to the API. Invoke the tests vai maven with;

mvn test

POSTMAN

Postman has been used as the REST Client and the following requests were configured for testing the api;

These will respectively feed the Animals in the Zoo, report on their status and display the console.

CONSOLE

The Zoo application can also be accessd via a management console, that allows the current state of the anaimals in the Zoo to be viewed, togther with the option to 'Feed' the animals. The console is accessed from the URL;

Reference Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Built in IntelliJ

About


Languages

Language:Java 95.7%Language:HTML 4.3%