Explore tweets tagged as #Mockmvc
@sivalabs
Siva
8 months
#SpringBoot 3.4.0 introduced MockMvcTester to simplify MockMvc usage and also supports AssertJ assertions. Looks cool 🚀
Tweet media one
4
52
344
@devrimozcy
Devrim Ozcay
1 month
I just published Why We Stopped Using MockMvc — And Started Writing Real HTTP Tests
0
0
0
@wimdeblauwe
Wim Deblauwe
5 days
🧪 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:
1
8
42
@SamProgramiz
Sam Programiz
2 years
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
@suke_masa
Masatoshi Tada
1 year
error/404.htmlがMockMvcでテストできない件、公式リファレンスに載ってた.
Tweet media one
0
1
5
@iamsaquibdev
Saquib Aftab
6 months
Difference between @ SpringBootTest and @ MockMvc in Java 🔥
Tweet media one
0
0
4
@javacodegeeks
Java Code Geeks
15 days
Simulate OAuth2 SSO in #Spring Using MockMvc and WireMock - #Java Code Geeks
1
1
7
@rieckpil
Philip Riecks
29 days
🧪 Stop testing your Thymeleaf views with just MockMvc!. HtmlUnit can execute JavaScript, test form validation, and simulate real user interactions that MockMvc simply can't handle.
1
4
21
@kenyanJug
KenyaJug🇰🇪
3 months
🚨 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 → #JavaKe #KenyaJUG #SpringBoot #MockMVC #developers
Tweet media one
0
11
11
@Myrtille231115
うえた
10 months
JUnitのテストアノテーションは.この目次にあるのは一通り動かしてみた。.初見やしサンプルコードみたいなのやから.いずれちゃんとしたコードの中で実装したい. 今からライフサイクルメソッドと.アサーションメソッドに関するとこ. テストの最終目標は.MockMvcでHTTPの挙動に関するとこする
Tweet media one
1
0
7
@theRealMondongo
𝚂𝚑𝚊𝚠𝚗 𝙺 𝙱𝚎𝚌𝚔
2 years
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.
Tweet media one
Tweet media two
Tweet media three
0
0
16
@fan2java
wrestle, dev & repeat
6 months
J'ai passé quelques heures à me documenter sur MockMvc pour pouvoir mettre en place des tests sur la sécurité de ma web app. Faut que j'ai créé des TU pour m'assurer qu'un utilisateur non authentifié ne puisse pas accéder aux urls qui nécéssitent une auth etc. Sinon j'ai réussi
Tweet media one
Tweet media two
1
0
0
@kenyanJug
KenyaJug🇰🇪
3 months
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: #JavaKe #KenyaJUG
Tweet media one
@kenyanJug
KenyaJug🇰🇪
3 months
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
@ThiagoBfim
Thiago Bomfim
2 months
New way to test your REST API with Spring. Read more 👉 #SpringFramework #Java #Mockmvc.
0
0
1
@sivalabs
Siva
4 months
Spring Framework 6.2 introduced MockMvcTester to support writing AssertJ style assertions while testing with MockMvc. In this article, I have covered:.✨Testing REST API JSON response.✨Testing REST API exception handling.✨Testing the Thymeleaf view.
0
14
39
@msanthoshhh
MSANTHOSH✨
2 months
Day 30 : yesterday I completed the project. Take a look on it.Project Link : By this project I went to mockMVC controller for testing purpose and really pom.xml file tested me, but I never give up atlast i completed.
1
0
5
@SumitM_X
SumitM
2 months
When the interviewer asks:.Q: How do you test a Spring Boot application?. Start with this :."Used @ SpringBootTest for integration tests and @ WebMvcTest for controller layer. Also used MockMvc and Mockito for unit testing services. Ensured proper use of profiles to avoid hitting.
6
17
192
@javacodegeeks
Java Code Geeks
2 years
#Testing #JSON in #Spring Boot with MockMvc and JsonPath - #Java Code Geeks
0
5
27
@AngelieCrown
橘きか
1 year
春になると家庭菜園で花弁を楽しむのが至福の時。花畑のような美しい光景が庭に広がり、心が満たされる。.MockMvcの香りも魅力的で、花が咲く度に幸せな気持ちに包まれる。 #家庭菜園 #花弁.
0
0
2
@tschuehly
Thomas Schilling (Schuehly)
1 year
Anyone on here already used @HtmlUnit with @htmx_org and @springframework MockMvc. It just doesn't create Ajax Requests. cc @jitterted
Tweet media one
1
0
1