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
@wimdeblauwe
Wim Deblauwe
4 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
@javacodegeeks
Java Code Geeks
2 years
#Testing #JSON in #Spring Boot with MockMvc and JsonPath - #Java Code Geeks
0
5
27
@javacodegeeks
Java Code Geeks
1 year
#Spring MockMVC Get #JSON As Object - #Java Code Geeks
0
3
8
@javacodegeeks
Java Code Geeks
13 days
Simulate OAuth2 SSO in #Spring Using MockMvc and WireMock - #Java Code Geeks
1
1
7
@iamsaquibdev
Saquib Aftab
6 months
Difference between @ SpringBootTest and @ MockMvc in Java 🔥
Tweet media one
0
0
4
@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
@suke_masa
Masatoshi Tada
1 year
error/404.htmlがMockMvcでテストできない件、公式リファレンスに載ってた.
Tweet media one
0
1
5
@Myrtille231115
うえた
10 months
JUnitのテストアノテーションは.この目次にあるのは一通り動かしてみた。.初見やしサンプルコードみたいなのやから.いずれちゃんとしたコードの中で実装したい. 今からライフサイクルメソッドと.アサーションメソッドに関するとこ. テストの最終目標は.MockMvcでHTTPの挙動に関するとこする
Tweet media one
1
0
7
@VirtualCoder20
Nurudeen AbdulMalik Ajao
2 years
day 27 of spring boot.#java #springBoot #dev #javaprogramming .#SoftwareEngineer .Writing Test with MockMvc for SpringBoot. Also Had Bidirectional Relationships Error that had to be resolved with @JsonManagedReference
Tweet media one
1
0
1
@MamezouDev
豆蔵デベロッパー
3 months
新記事公開です!- Springの小話 - MockMvcのテストをAssertJにしてみる #豆蔵デベロッパー.
0
0
4
@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
@devrimozcy
Devrim Ozcay
1 month
I just published Why We Stopped Using MockMvc — And Started Writing Real HTTP Tests
0
0
0
@techaffinity
TechAffinity | #BeFutureReady
1 year
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
Tweet media one
0
0
0
@AngelieCrown
橘きか
1 year
春になると家庭菜園で花弁を楽しむのが至福の時。花畑のような美しい光景が庭に広がり、心が満たされる。.MockMvcの香りも魅力的で、花が咲く度に幸せな気持ちに包まれる。 #家庭菜園 #花弁.
0
0
2
@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
@suke_masa
Masatoshi Tada
1 year
んー???MockMvcでのテストが一部通らんな・・・.
1
0
1
@Stacktips
StackTips
2 years
New post: Testing Spring Boot REST API using Mockito and MockMvc .#Spring Boot
Tweet media one
0
2
2
@ThiagoBfim
Thiago Bomfim
6 months
New way to test your REST API with Spring.▸ #SpringFramework #Java #Mockmvc #SpringFramework6
Tweet media one
0
0
0