An open API service indexing awesome lists of open source software.

https://github.com/alexromanov/boot-testing-examples

Currency converter / formatter project for use case of Spring Boot testing
https://github.com/alexromanov/boot-testing-examples

spring-boot testing

Last synced: about 1 month ago
JSON representation

Currency converter / formatter project for use case of Spring Boot testing

Awesome Lists containing this project

README

          

# Boot Test Examples
Currency converter / formatter project for use case of Spring Boot testing techniques

One of the app functionality is formatting input values in the form of two sings after decimal points - XX.YY.

It has a UI part as well as a REST API part.

UI part takes an input:

![Format UI](./pictures/format-ui.png)

and returns a result:

![Format Result](./pictures/format-result-ui.png)

For API part the same functionality is implemented for an "/format" endpoint:

![Post Request](./pictures/post-request.png)

The result object is:

![Post Response](./pictures/post-response.png)