This is an exercise based on the Gist provided for the AEP Charge Kata here
Both the application and the tests expect a application.properties.local
file in the resources
folders (both main
and test
packages) that define the implementation specific properties. For the purposes of this exercise, there are two properties expected in order to successfully run the tests:
interface.slack.token.user
: This is the token provided by the Slack API to retrieve user information. Note that the token must include both theusers:read
andusers:read.email
scope in order to retrieve the full details of the userinterface.slack.testUser
: This is the ID of a known Slack user. This is supplied for the integration tests to verify that the service is functional, the API returns a non-null value and the ID of the response user matches the value provided