강의

멘토링

로드맵

Inflearn brand logo image
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

515 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

28,936

Learners

737

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

  • 주아아빠님의 프로필 이미지
    주아아빠

    Reviews 50

    Average Rating 5.0

    5

    7% enrolled

    안녕하세요 강사님~ 인프런에 강사님의 무료 스프링 개념 강의 듣고 너무 좋아서 수강하게 됐습니다 강사님의 메타코딩 유투브랑 이지업클래스 수업도 들었습니다 참고로, 다른분들도 이지업클래스 jpa 강의 들으시면 도움될거 같아요 이지업클래스에서는 jpa 이클립스로 강의하시는데 몰랐던 부분 많이 알게되서 좋았습니다 차분하게 목소리 좋고, 원리 개념 설명 차분히 잘 설명 해주십니다 스프링 관련 좀더 깊이 있는 부분도 기대합니다 실무에서 프로젝트에서 경험하신 jpa중/고급, 동시성제어(락), 병렬처리, 배치, 엑셀파일처리, 이메일전송, 원격제어 등 .. 앞으로 좋은 강의 기대하고. 응원합니다 항상 건강하고 행복하세요^^

    • 최주호
      Instructor

      감사합니다. 첫댓글이니 담강의 나오면 무료 쿠폰드리겠습니다. 꼭 말해주세요

  • 강프로그래머님의 프로필 이미지
    강프로그래머

    Reviews 24

    Average Rating 4.6

    3

    100% enrolled

    강의 내용은 매우 좋습니다 [좋은 점] 1. 이것저것 쏠쏠하게 몰랐던 지식도 많음 2. 실무에서 유용한 코드가 많음 3. 내용 알차고 세세하게 설명함 4. 깃허브에 수업 자료가 잘 정리되어 있음 ----- [아쉬운 점] 1. 다른 리뷰처럼 키보드 소리가 탁탁.. 진짜 집중이 안 됨.. 2. 라이브 코딩으로 진행하셔서 그런지.. 대부분의 챕터마다 실수로 인해서 강사님 멘붕오시고 정적... 그리고 에러를 찾아 헤매는 동안에 강의 흐름이 끊김.. 그래서 본인은 되감기 해서 다시 듣고 이해해야 됨.. (다른 라이브 코딩 강의처럼 멀티 모니터 사용하셔서 미리 완성된 프로젝트를 참고하시면서 진행하시면 좋겠습니다..)

    • 이진우님의 프로필 이미지
      이진우

      Reviews 24

      Average Rating 5.0

      5

      100% enrolled

      어플리케이션을 만들어보면서 JUnit5 테스트를 학습하고 싶다면 이 강의를 추천합니다. 테스트 코드 작성을 하지 않는 회사 두 군데를 다니면서 다음 회사는 테스트 코드를 작성하는 회사를 들어가겠다는 목표를 정했습니다. 그런데 테스트 코드를 어떻게 작성해야 하는지 막막한 상황에서 해당 강의를 알게 되었고, 열심히 따라 한 덕분에 각 레이어 별로 테스트 하는 방법에 숙달 될 수가 있었습니다. 다른 JUnit 강의의 경우 API Method에 대한 학습 테스트 하는 경우가 많았는데, 이 강의로 실무처럼 연습할 수 있어서 좋았습니다. 감사합니다 **참고. JUnit5에 대한 기본적인 테스트 방법을 학습하시고, 해당 강의를 들으실 경우 추진력을 얻을 수 있습니다.

      • 최주호
        Instructor

        자세한 후기 감사합니다!!

    • 이진혁님의 프로필 이미지
      이진혁

      Reviews 9

      Average Rating 5.0

      5

      100% enrolled

      최근 실무에 JWT를 적용해야 할 경우가 생겼는데 덕분에 잘 적용해서 좋은 결과물이 나왔습니다. 감사합니다!!

      • 최재영님의 프로필 이미지
        최재영

        Reviews 12

        Average Rating 5.0

        5

        100% enrolled

        예전 국비로 서면에서 선생님 교육들었었는데 너무 잘가르쳐주어서 시큐리티 강의말고도 여러강의결제하면서 정말 많은 도움을 받았습니다

        $30.80

        metacoding's other courses

        Check out other courses by the instructor!

        Similar courses

        Explore other courses in the same field!