Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Add real HTTP server tests #2

Closed
tdauth opened this issue Oct 23, 2018 · 1 comment
Closed

Add real HTTP server tests #2

tdauth opened this issue Oct 23, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@tdauth
Copy link
Contributor

tdauth commented Oct 23, 2018

The current route unit test does not test a real running HTTP server?
This could be done with TravisCI using sbt run and concurrently curl queries.
Maybe Akka provides some testing framework.

@tdauth tdauth added the enhancement New feature or request label Oct 23, 2018
@tdauth tdauth self-assigned this Oct 23, 2018
tdauth added a commit that referenced this issue Oct 25, 2018
- Add custom JSON formatter for our Map type
- Move Furrer model into seprate package since it is not valid
- Separate persistence layer into separate package
- Add Bash scripts for REST calls
- Simplify documentation
tdauth added a commit that referenced this issue Nov 15, 2018
- Don't use any custom model package types but the types from the api package
for REST.
- GuiStateMachineApi works now with IDs for the state machines.
This allows the removal and retrieval of state machines based on the unique ID.
- Remove persistence layer since the Scala API provides persistence calls.
- Add bodys for the parameters for `get-state` and `execute-action`.
- Only use one service class GuiStateMachineService.
- Swagger uses the correct service class now (not RestService).
- Add initial JsonFormat types for all the required Scala API types.
- Remove model package and Bash scripts for the old REST API.
- Simplify documentation.
- Adapt unit tests.
@tdauth
Copy link
Contributor Author

tdauth commented Nov 15, 2018

Not that important at the moment since the REST API has to be implemented first. Unit testing should be sufficient for now.

@tdauth tdauth closed this as completed Nov 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant