Test Spring Boot REST API using JUnit
HTML-код
- Опубликовано: 22 авг 2024
- Find the source code here -
bushansirgur.i...
🤑🤑 Donate
+ / @b2tech
+ www.instamojo....
--------------------------------------
Gear I use - bushansirgur.i...
--------------------------------------
🐱💻 🐱💻 Course Links:
Spring boot and Mongodb Tutorial -
• Spring boot and MongoD...
Spring boot, Hibernate, and MySQL API Tutorial -
• Spring boot + Hibernat...
Spring boot, JPA and MySQL API Tutorial -
• Spring boot + JPA + My...
RESTful web services with Nodejs, Express, Mongodb Tutorial -
• NodeJS, Express, Mongo...
Angular and Spring boot full-stack Tutorial -
• Angular 9 and Spring B...
Spring MVC and MyBatis/iBatis Tutorial -
• Spring MVC and MyBatis...
JSP and Servlets Complete Tutorial for beginners -
• JSP and Servlet Tutorial
For Business Inquiries Email @
bushan1992@zohomail.in
Follow me to stay updated -
1. Github - github.com/scb...
2. Udemy - udemy.com/user...
3. LinkedIn - / bushan-sc
4. Instagram - / bushan_sirgur
Change yout title, you are not testing the REST API. You are testing the repo not the REST controller. Thanks
Where have you created rest APIs and called rest APIs
Nice VIdeo Covers all basic methods. Thanks BRO
Thanks Bhushan, please create complete Play list
Not testing the rest API, just testing the Repo (DB part)
correct
this is what ı looking for
Making fool 🤣🤣 or may be he even don't know difference between repo or api
Spring Boot Unit Testing and Integration Testing with JUnit, Mockito and MockMvc - [2022]
ruclips.net/video/pHTr3IMuRh0/видео.html
Thank-youuu so much!!!
You're welcome!!
Thanks for good Explanation
Thank u thank u so much ..... 🙏🙏🙏🙏🙏🙏🙏🙏there is no words to convey my gratitude ... 🙏🙏🙏🙏but one doubt as l know we should not touch database in unit testing .. we should give dummy data to test the rest Api... Please clear my doubt.... Please make a video on mockito testing by taking dummy data🙏🙏🙏🙏🙏🙏
I agree
WHERE is the API testing ? Just Repo ?
This is not a rest api, just a spring data jpa unit test :(
SUPER!!!!!!!!!!!!! THANK YOU!!!!!!!!!!!!!!!!!
How to implement the same thing using postman at the last ..can you please tell it in a simple way?
this is testing jpa calls, NOT user defined Rest Controllers. This is a bit misleading.
Check my latest videos
ruclips.net/p/PLA7e3zmT6XQV2LWQYH-H8sb1_psF68HWN
THANK YOU SO MUCH!!!!
How can we directly hit the database
Thanks 🤝
How to get JUNIT screen below. I am getting left side.
Drag n drop it down
Where is rest API testing
Awesome video..Please do like these videos for Exception handling.
Sure 👍
Please write a junit test cases for books example bhushan..like book id,name,author and price..please write test cases for this crud example
nullpointerexception showing ???
How did you do to have that dark mode in mysql workbench?
If yu use latest MySQL workbench then yu ll get tht option.
Sir, without dialect how can it hit the database