Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.47 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.47 KB

backend-test-task

Test task for backend interviews

Getting Started

Before running the application please ensure you have docker installed:

Then:

Documentation

  • You can find documentation in the ADR folder
  • Feel free to add your own to the folder

Testing

  • All tests (unit and integration) share the same test folder src/test/groovy.
  • Some tests have been provided as
  • Run tests with: ./gradlew test

Unit tests

  • All unit tests should end with Spec, e.g. AccountServiceSpec.groovy.
  • Unit tests should extend spock.lang.Specification

Integration tests

  • All integration tests should end with IntSpec, e.g. AccountControllerIntSpec.groovy
  • Integration tests should extend com.golightyear.backend.AbstractIntegrationSpec

Run tests using ./gradlew test

Issues