Skip to content

Repository files navigation

Establishment Service Dev Docker

Establishment Service

Running tests locally

REST Integration Tests

  1. Open the establishment-rest-service-test project in IntelliJ
  2. On the top menu bar, click the drop down menu that says 'current file'
  3. Click on 'Edit Configurations'
  4. Click on the '+' icon in the top left hand corner to add a new configuration
  5. Click 'JUnit'
  6. Enter the following config:
    • Name: EstablishmentRestTests
    • Change 'Class' to 'all in package'
    • Where it says -ea add the following config:
-D"db.url=jdbc:oracle:thin:@//localhost:1521/xepdb"
-D"db.username=ISISUSERDB"
-D"db.password=pa55w0rdTolocalDB"
-D"userOfficeTest.restUri=http://localhost:4019"
-D"uk.stfc.bisapps.config=C:\FBS\Apps\secret-config\local\establishment-service\RestTest.config"
  1. Click ok
  2. Select the config on the top menu bar
  3. Click the green play button to run the tests

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages