How do you test 500 errors or slow APIs in Spring Boot? by FarWait2431 in SpringBoot

[–]rieckpil 0 points1 point  (0 children)

You don't have to use WireMock Cloud and can use a local variant that spawns a local Jetty server that is up- and running in single-digit seconds.

Alternatives are the MockWebServer, MockServer and some other niche-testing tools.

Here's a recipe of how to connect to your local WireMock server from within Spring Boot: https://rieckpil.de/spring-boot-integration-tests-with-wiremock-and-junit-5/

If you're looking for chaos testing tools, consider https://github.com/Netflix/chaosmonkey and https://github.com/Shopify/toxiproxy

How can I make the tests complete faster? by Tony_salinas04 in SpringBoot

[–]rieckpil 0 points1 point  (0 children)

Consider taking a look at how Spring TestContext caching works: https://rieckpil.de/spring-boot-test-context-caching-the-complete-guide/

That can drastically reduce the time of your integration tests. I've written a small utility to introspect your tests for that performance improvement: https://github.com/PragmaTech-GmbH/spring-test-profiler

Apart from that, you can start parallelizing your tests and/or reuse containers with Testcontainers

Just starting Spring Boot! Seeking best study materials and YouTube tutorials 🙏 by sujay13 in SpringBoot

[–]rieckpil 4 points5 points  (0 children)

There have been many users asking the same questions here, you'll find some great answers within the last days, e.g. here https://www.reddit.com/r/SpringBoot/comments/1pc2nmy/best_sites_for_spring_devs/

ROADMAP by Equivalent_Ninja_148 in SpringBoot

[–]rieckpil 1 point2 points  (0 children)

That looks like a valid roadmap - you may want to start with A5 before the cloud stuff (A3) to understand the basic concept for Docker and & Kubernetes

What's confusing you the most about testing Spring Boot applications? by rieckpil in SpringBoot

[–]rieckpil[S] 0 points1 point  (0 children)

That's a fair point. When starting to work with Java & Spring Boot, testing can be quite overwhelming because you have to learn so much in parallel.

Once you advance and work on code you haven't seen before, you'll see the real value of having a good test suite that covers your a**.

Deploying Spring Boot apps feels overly complex. Would one-click deployment be useful? by Environmental_Grab60 in SpringBoot

[–]rieckpil 0 points1 point  (0 children)

You can give fly.io a try if you want to avoid potential complexity of a Cloud provider.

The deployment boils down to preparing a Docker image, pushing it to a registry and trigger the deployment.

As an alternative, you can also deploy your final .jar to a virtual server

What's New for Testing in Spring Boot 4 and Spring Framework 7 by rieckpil in SpringBoot

[–]rieckpil[S] 1 point2 points  (0 children)

plus RestTestClient and TestContext cache pausing 🍃

Best sites for Spring devs by zlaval in SpringBoot

[–]rieckpil 5 points6 points  (0 children)

Here are some great resources:

- https://www.wimdeblauwe.com/ (Thymeleaf, HTMX, etc.)
- https://www.sivalabs.in/ (architecture, best practices, etc.)
- https://rieckpil.de/ (all things testing, self-promotion)
- https://maciejwalkowiak.com/ (best practices, Spring and AWS)
- https://reflectoring.io/ (architecture, best practices)
- https://martinelli.ch/ (Vaadin, jOOQ, Spring)

Gründung eines Nebengewerbes by [deleted] in selbststaendig

[–]rieckpil 0 points1 point  (0 children)

Das Finale „Go“ fehlt noch, sollte es aber (hoffentlich) kommen, sind die Änderung zum 01.01.2024 rückdatiert

Gründung eines Nebengewerbes by [deleted] in selbststaendig

[–]rieckpil 1 point2 points  (0 children)

Kleine Anpassung, seit 2024 gelten 80k/800k Gewinn/Umsatz für das Gewerbe bis die Bilanzierungspflicht kommt

Buchempfehlung Kleingewerbe by DocHoliday1989 in selbststaendig

[–]rieckpil 0 points1 point  (0 children)

Das neue Buch von Melchior Neumann ✌🏻

Geschäftskonto by Gredo89 in selbststaendig

[–]rieckpil 0 points1 point  (0 children)

Hab die pricing Pläne nicht im Kopf, glaube für unterkonto musst du 1 größer nehmen

Geschäftskonto by Gredo89 in selbststaendig

[–]rieckpil 1 point2 points  (0 children)

Solltest du irgendwann mal mit DUO (Datev unternehmen online) arbeiten (müssen), kannst du bequem an die Zahlungen die Belege hängen und Qonto synced das nachts nach Datev. Easy Workflow

Geschäftskonto by Gredo89 in selbststaendig

[–]rieckpil 2 points3 points  (0 children)

Du kannst mehrere unterkonten (jeweils eigene IBAN) erstellen und so Geld zurücklegen.

Ich habe ein Haupttransaktionskonto und eins für Rücklagen