강의

멘토링

커뮤니티

BEST
Programming

/

Back-end

Spring Boot JUnit Testing - Bank Application with Security

We will develop a banking application using Spring Boot. This course will help you learn how to build an application by testing various problems that arise during development using JUnit.

(4.6) 23 reviews

520 learners

  • metacoding
junit
테스트코드
유닛테스트
스프링부트
JUnit
Spring Boot
Software Test

Reviews from Early Learners

What you will learn!

  • JPA

  • Security

  • Springboot

  • JUnit Unit Testing

  • JUnit Integration Tests

  • Effective Settings for JUnit Tests

Spring Boot + JUnit, from the beginning!

For beginner backend developers
Using Spring Boot JUnit Tests

💡 What if I am writing a project with Spring Boot without Junit tests ?

💡 Not sure what the benefits of writing tests are?

JUnit, a framework for writing test programs

There are many ways to test Spring Boot using JUnit, such as unit testing and integration testing. However, it can be a bit difficult for beginners to start testing with JUnit. Although concepts are written in personal/corporate blogs or official documents, it is not easy to collect only well-organized concepts and tips.

In this lecture, we will organize the concepts and various tips so that those who are new to JUnit can easily approach JUnit. We will test problems that can occur in Repository, Service, Controller, Security Filter, etc. one by one. Through this process, you will be able to clearly understand the relationships and responsibilities between the Spring Boot layers.

Do you have experience with Spring Boot, but don't know how to test it or how to do it?
Through this course, you will experience the difference between writing the actual code without testing and writing the test and writing the actual code. If you are writing a project with Spring Boot, don't hesitate and take this course!


Developing banking applications
Learn testing in a lively way.

Let's create a simple bank application using Spring Boot. In the process, you will learn more about Spring Boot and Security, and you will clearly understand why we use JUnit tests .

Course Features

  • ✅ You will be able to think about Rest API address design.
  • ✅ You can test your security code and shorten your project development time through testing.
  • ✅ We share essential settings and tips for running JUnit tests.
  • ✅ You will be able to experience why you need to test, rather than just reading the theoretical content on the Internet.

Detailed Curriculum

Spring Boot Project/Spring Boot Security Settings

  • Set up the Bank application project, design tables, and create entities.
  • Write updated security code and test it with Junit.

Spring Boot Membership Registration

  • We apply and test Validation and AOP through the first function, member registration.

Spring Boot JWT Authentication and Authorization

  • Implement a JWT server and perform authentication/authorization tests.
  • Let's refactor the JWT server code.

Creating a banking application

  • Let's create functions for account registration, account list, account deletion, account deposit, account withdrawal, account transfer, and viewing deposit/withdrawal history.
  • We are conducting tests on the Repository, Service, and Controller for the corresponding function.
  • In testing, you will learn about integration testing, unit testing, and mock testing.
  • I share all the settings, issues, and tips needed for testing.

We conduct tests during the process of creating various functions required for a banking app, such as membership registration, login, and account management.


Nice to meet you, I'm Choi Joo-ho from Metacoding!

My name is Jooho Choi, and I run Metacoding, a development YouTube channel that covers topics such as Spring Framework, React, Flutter, and DevOps.

Detailed history

  • Current Get In Air CEO, Nomad Lab Development Team Leader, BNK System (Bank), Kyungsung University Information and Computer Center, OSAM Hackathon Mentor, Crust Universe NFT Flutter App Development
  • Among the lectures given by Busan IT Education Center (Spring Framework), Dong-eui University Lifelong Academy (Spring Framework), Information Promotion Agency (Public Data), Daejeon Health College (Spring Framework), Kwangwoon University (Internet of Things Smart Home), SBS Academy (Java Lecture), Gooreum Edu (Spring Framework), GIT Lecture (Spring Framework, Machine Learning), and Fast Campus (Spring Boot)
  • Author of Introduction to Java Programming, Introduction to JSP Programming, Raspberry Pi for IoT Internet of Things (Answerbook), Introduction to Flutter UI (Answerbook), Flutter UI Practice (Answerbook), etc.
  • Spring Boot Essentials (Wikibooks), AWS CI/CD Deployment Technology Manual (Answerbook) in progress
  • Running a YouTube Metacoding Channel (Spring Framework, React, Flutter, Devops)
  • Online lectures conducted by Easyup, OSAM, Inflearn, and Cloud Edu
  • Graduated with a master's degree in computer engineering from Pukyung National University, strengthened open source software capabilities (Minister of National Defense Award)

Check out the Q&A.

Q. Can I take the course on macOS?

Yes, you can take the class.

Q. Can I use an IDE other than VSCode?

If you have your own IDE, you can use that tool.

Q. I'm new to JUnit. Can I still take the course?

If you have learned Spring Boot and JPA, you can take the course right away.

https://www.inflearn.com/course/springboot-security

You can enjoy the course more if you listen to the lecture at the URL above and then listen to the Junit lecture.

💾 Things to note before taking the class

  • You can take the course on both Windows and macOS, and the IDE we use is VSCode. (You can also use other IDEs such as IntelliJ.)
  • JDK 11, Spring Boot 2.7.7 version is used. If you use Spring Boot version 3.0 or higher, you must set Java version 17 or higher.
  • Prerequisite knowledge should be experience using Spring Boot and JPA.
  • We provide learning materials via Github. (link)

Recommended for
these people

Who is this course right for?

  • Developers or students who want to test JUnit with Spring Boot

  • Developers or students who want to know the latest Spring Boot security code

Need to know before starting?

  • Spring Boot

  • JPA

Hello
This is

29,162

Learners

747

Reviews

219

Answers

4.9

Rating

4

Courses

유튜버 메타코딩입니다.

https://www.youtube.com/channel/UCVrhnbfe78ODeQglXtT1Elw

Curriculum

All

69 lectures ∙ (15hr 9min)

Published: 
Last updated: 

Reviews

All

23 reviews

4.6

23 reviews

  • dongheekim359님의 프로필 이미지
    dongheekim359

    Reviews 50

    Average Rating 5.0

    5

    7% enrolled

    Hello, instructor~ I took the instructor's free spring concept lecture on Inflearn and liked it so much that I decided to take the class. I also took the instructor's metacoding YouTube and easyup class. For reference, I think it would be helpful for others to take the easyup class JPA lecture. In the easyup class, the lecture is given using JPA Eclipse, and I learned a lot of things I didn't know, which was good. The voice is calm and nice, and the principle and concept are explained calmly and well. I also look forward to more in-depth parts related to spring. JPA intermediate/advanced, concurrency control (lock), parallel processing, batch, excel file processing, email transmission, remote control, etc. I look forward to good lectures in the future. I support you. Always stay healthy and happy^^

    • metacoding
      Instructor

      Thank you. Since this is your first comment, I will give you a free coupon if you come out with a lecture. Please let me know.

  • kms920106님의 프로필 이미지
    kms920106

    Reviews 24

    Average Rating 4.6

    3

    100% enrolled

    The lecture content is very good [Good points] 1. There are many things I didn't know about 2. There are many useful codes in practice 3. The content is rich and explained in detail 4. The lecture materials are well organized on GitHub ----- [Disappointing points] 1. Like other reviews, the keyboard sound is so loud... I can't really concentrate.. 2. Maybe because it's live coding... In most chapters, the instructor has a mental breakdown and is static due to mistakes... And while looking for errors, the lecture flow is interrupted.. So I have to rewind and listen again to understand.. (Like other live coding lectures, it would be good to use multiple monitors and refer to pre-completed projects while proceeding..)

    • leejinwoo1126님의 프로필 이미지
      leejinwoo1126

      Reviews 24

      Average Rating 5.0

      5

      100% enrolled

      If you want to learn JUnit5 testing while creating an application, I recommend this course. After working at two companies that didn't write test code, I set a goal of joining the next company that writes test code. However, I found out about this course when I was at a loss as to how to write test code, and thanks to following it diligently, I was able to become proficient in testing each layer. In the case of other JUnit courses, there were many cases where learning tests were done for API methods, but this course was good because I could practice like in the real world. Thank you. **Note. If you learn the basic test methods for JUnit5 and take this course, you will gain momentum.

      • metacoding
        Instructor

        Thank you for the detailed review!!

    • iih9075948님의 프로필 이미지
      iih9075948

      Reviews 9

      Average Rating 5.0

      5

      100% enrolled

      Recently, I had to apply JWT to my work, and thanks to you, I was able to apply it well and get good results. Thank you!!

      • cristiano님의 프로필 이미지
        cristiano

        Reviews 12

        Average Rating 5.0

        5

        100% enrolled

        I used to take the teacher's training at the government expense in the past, and he taught me so well that I paid for many lectures in addition to the security lecture, which was really helpful.

        $30.80

        metacoding's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!