项目作者: SeWaS

项目描述 :
Calculating soccer league tables with data from the amazing OpenLigaDB.
高级语言: Java
项目地址: git://github.com/SeWaS/LeagueTable.git
创建时间: 2017-05-21T08:25:49Z
项目社区:https://github.com/SeWaS/LeagueTable

开源协议:MIT License

下载


LeagueTable

A spring servie that provides endpoints for fetching a soccer league’s table based on results coming from OpenLigaDB.

Endpoints:

/api/leagueTable/bl1/2016

Returns the current table of league with identifier “bl1”.

/api/leagueTable/bl1/2016/18

Returns the table of league with identifier “bl1” for matchday 18.

Starting application:

‘./gradlew bootRun’

Starts the application.

Gradle testing tasks:

‘./gradlew runUnitTests’

Runs all Unit tests.

‘./gradlew runIntegrationTests’

Runs all Integration tests.

‘./gradlew. runFeatureTests’

Runs all cucumber scenarios.

Gradle report tasks:

‘./gradlew unitTestReport’

Creates Jacoco unit test report after a unit test run.

‘./gradlew integrationTestReport’

Creates Jacoco integration test report after an integration test run.

‘./gradlew unitAndITcoverageReport’

Creates Jacoco report about coverage of all unit and integration tests. A unit and integration test run is necessary for that.

‘./gradlew aggregate’

Creates a SerenityBDD report for feature overview. A feature test run is necessary for that.