Explore tweets tagged as #Mockmvc
#SpringBoot 3.4.0 introduced MockMvcTester to simplify MockMvc usage and also supports AssertJ assertions. Looks cool 🚀
4
51
341
Testing REST APIs in Quarkus: Faster, Real, and Production-Ready A hands-on guide for Java developers moving beyond Spring’s MockMvc to Quarkus and RestAssured https://t.co/3JLyKHAda0
0
5
13
MockMvcBuilders allow us to create a test environment that emulates Spring MVC (mockMvc). You can plugin viewResolvers or isolate the test to one controller for the test MockMVC builders support two modes, `standaloneSetup` and `webContextSetup` Old Guard EP008
0
1
7
Review on our AssertJ support for MockMvc continues. In this milestone, bye bye static imports! MockMvcTester allows you to build the query using a fluent API as well:
3
12
43
In the upcoming @intellijidea release, the IDE will help you to configure versioning for controllers in your app and mockmvc in your tests 😉
Just dropped a new video showing off one of my favorite features coming in Spring Framework 7: the Rest Test Client! This makes resting APIs so much easier with one API for everything: unit tests, integration tests, and full server tests. Watch me build tests in minutes:
0
3
6
🚨 Kenya JUG this Saturday's session is ON! 🎯 Topic: Mastering IoC and DI - @Mungunoble 🎯 End-to-End API Testing with MockMVC - Samuel Owino 🗓️ 10th May | 🕗 8:00–9:30 PM 📍 Google Meet RSVP → https://t.co/iHIDAUWGAy
#JavaKe #KenyaJUG #SpringBoot #MockMVC #developers
0
11
11
Hace poco migré un servicio de Spring Boot 2 → 3. Aquí van 3 cosas que me hubiera gustado saber antes 👇 1️⃣ Cambios en Jakarta EE – todos los imports cambian de javax.* a jakarta.*. 2️⃣ Si usas Hibernate, revisa la compatibilidad. 3️⃣ Los tests con MockMvc pueden romperse.
0
0
1
Day 55 of #100DaysOfCode: API Endpoint 🛠 Set up a Spring Boot application with Kotlin, creating the main class and RESTful endpoints. ✅ Wrote JUnit 5 unit tests for API endpoints using MockMvc. 🌐 Successfully tested the /api/banks endpoint, which returned JSON account data.
0
0
15
OMG, finally we can do things like: assertThat(mockMvc.perform(post("/increase"))) .body() .isEqualTo("counter 43"); 🎉 #AssertJ 🥳
We really appreciate the trust of the @springframework team! 🙇 Want to see a real-world example of custom AssertJ assertions? Be sure to check out how they did it: https://t.co/W2tPvdo1Gj
2
15
52
This Saturday, we’re spotlighting what you voted for! 💡 ✅ Spring IoC & DI ✅ e2e Testing with MockMVC Are you a Java enthusiast ready to share your expertise on one of these? Here’s your chance to shine at Kenya JUG 🔥 🎤 Apply: https://t.co/TVQ9d5igEy
#JavaKe #KenyaJUG
Hey 👋 KenyaJUG Community! We're planning our next virtual session and would love your input! Which topic would you like us to cover in the next #VirtualTalks? #JavaCommunity #KenyaJUG
0
3
4
JUnitのテストアノテーションは この目次にあるのは一通り動かしてみた。 初見やしサンプルコードみたいなのやから いずれちゃんとしたコードの中で実装したい 今からライフサイクルメソッドと アサーションメソッドに関するとこ テストの最終目標は MockMvcでHTTPの挙動に関するとこする
1
0
7
Spring Framework 6.2 introduced MockMvcTester to support writing AssertJ style assertions while testing with MockMvc. https://t.co/wdmhp4i3HB In this article, I have covered: ✨Testing REST API JSON response ✨Testing REST API exception handling ✨Testing the Thymeleaf view
0
13
39
春になると家庭菜園で花弁を楽しむのが至福の時。花畑のような美しい光景が庭に広がり、心が満たされる。.MockMvcの香りも魅力的で、花が咲く度に幸せな気持ちに包まれる。 #家庭菜園 #花弁
0
0
2
0
5
28
Anyone on here already used @HtmlUnit with @htmx_org and @springframework MockMvc. It just doesn't create Ajax Requests. cc @jitterted
1
0
1
#jjug_ccc #jjug_ccc_gh リクエストハンドリング 実際ちゃんとリクエストハンドリングの開発者テストするなら テスト => MockMVC => モック(MockIto) で作る? ただその場合 検出したい不具合は何? を考えないとブレる 正常系保証するテストって意味ある?ってのは確かに 確かに・・・
0
0
1
Spring Boot 3.4.0-M1 has been released. This release brings 118 enhancements, documentation improvements, dependency upgrades, and bug fixes. Key features include Structured Logging, AssertJ support for MockMvc with auto-configuration of MockMvcTester, and enhanced support for
0
0
0
書いたよ MockMvcではerror/404.htmlやerror.htmlをテスト不可能 。その理由と代替策 https://t.co/nCRCa76spb
#Qiita
3
3
15
🧪 New blog: How I test production-ready Spring Boot applications Comprehensive testing strategy covering: - Use case tests with in-memory repos - JPA tests with Testcontainers - Controller tests with MockMvc - Integration tests - ArchUnit Full guide:
2
9
45