demos/testing
4 years agoWIP:it
Kai Moritz [Tue, 14 Jan 2020 07:10:47 +0000 (08:10 +0100)]
WIP:it

4 years agoWIP
Kai Moritz [Mon, 13 Jan 2020 14:35:24 +0000 (15:35 +0100)]
WIP
--
TODO

* IT auf TestWebClient umstellen? MockMvc funktioniert nicht!
* Commit für IT ordentlich beschreiben
* RemoteContentRestController bei Einführung in RestController umbenennen
** Dort ordentlich die Scheidung text/html | text/plain umsetzen
** Dort Testfall kontrollieren
* Danach: Commit für RestController nach IT-Test verschieben
* Anpassung / Ergänzung des IT-Tests?

4 years agoAdded a rest-controller, that serves the fetched data
Kai Moritz [Mon, 13 Jan 2020 11:43:27 +0000 (12:43 +0100)]
Added a rest-controller, that serves the fetched data

4 years agoImplemented a narrow integration-test: DemoApplicationIT
Kai Moritz [Fri, 10 Jan 2020 19:07:51 +0000 (20:07 +0100)]
Implemented a narrow integration-test: DemoApplicationIT

4 years agoAdded a html-controller, that renders the fetched data
Kai Moritz [Mon, 13 Jan 2020 18:25:37 +0000 (19:25 +0100)]
Added a html-controller, that renders the fetched data

4 years agoFurther simplification: using the real WebClient with an ExchangeFunction
Kai Moritz [Sun, 12 Jan 2020 14:04:35 +0000 (15:04 +0100)]
Further simplification: using the real WebClient with an ExchangeFunction

4 years agoImplemented a WebClientStub to simplify the unit-test
Kai Moritz [Sat, 11 Jan 2020 21:00:41 +0000 (22:00 +0100)]
Implemented a WebClientStub to simplify the unit-test

4 years agoUnit-test with mocking, that does not determines the implementation
Kai Moritz [Sat, 11 Jan 2020 18:51:09 +0000 (19:51 +0100)]
Unit-test with mocking, that does not determines the implementation

4 years agoImplemented a seemingly pure and clean unit-test
Kai Moritz [Sat, 11 Jan 2020 15:30:26 +0000 (16:30 +0100)]
Implemented a seemingly pure and clean unit-test

4 years agoImplemented a service, that fetches data from a remote-host
Kai Moritz [Sat, 11 Jan 2020 15:28:59 +0000 (16:28 +0100)]
Implemented a service, that fetches data from a remote-host

4 years agoSpring Initializr: 2.2.2 / Spring Webflux / Thymeleaf
Kai Moritz [Fri, 10 Jan 2020 18:16:35 +0000 (19:16 +0100)]
Spring Initializr: 2.2.2 / Spring Webflux / Thymeleaf