강의

멘토링

로드맵

Inflearn brand logo image
Programming

/

Software Test

Complete Guide to Python Test Automation Using Pytest and Nox

Have you ever felt anxious after modifying code, wondering 'Is it okay to deploy this?' This lecture was prepared to solve exactly that concern. 😊 You'll learn how to write 'good tests' using Pytest, the standard for Python testing, step-by-step from the basics. We'll cover essential functionalities vital for real-world application, from simple assertions to Fixtures that drastically reduce repetitive tasks, and Mocks that simulate complex external systems. Once you're comfortable with testing, it's time to automate the entire development process. You'll learn how to handle testing, code style checks, and formatting all at once with a single command using Nox, a powerful automation tool. Finally, we'll explore how to connect all these processes to a CI/CD pipeline, upgrading your team's development culture.

(5.0) 1 reviews

56 learners

  • haeyeomiso
테스트자동화
테스트코드
유닛테스트
소프트웨어-테스트
실습 중심
Software Test
pytest
nox
CI/CD

What you will learn!

  • Python Test Automation (Python Test Automation)

  • Pytest Framework Utilization (Pytest Framework Utilization)

  • Nox-based Development Workflow Construction (Nox-based Development Workflow Construction)

  • CI/CD Integration and Pipeline Design (CI/CD Integration and Pipeline Design)

  • Unit/Integration Test Design and Implementation (Unit/Integration Test Design & Implementation)

Test automation for off-hours with Pytest & Nox 🎩


What if you feel uneasy every time you fix the code ? What if you are manually performing the same tests every time?

Now, we'll reduce that time and stress! 🛩 Software testing made easy!


This lecture is not simply a lecture that teaches test grammar.

This is a journey to learn how to fill up your development with confidence and efficiency from the beginning to the end using Pytest , the standard for Python development, and Nox , a powerful automation friend. Let's learn how to test happily and automate smartly with me. 😄


Something special that's only available in our classes!

  • Only tools that are actually used in practice! The most widely used Pytest and Nox that completes the development workflow. Learn deeply about two core tools that are loved in practice these days.

  • Don't get lost, follow the roadmap! No need to worry about 'what should I learn first?' Just follow the most efficient learning roadmap, from testing basics to building a CI/CD pipeline.

  • The best way to learn code is to write it yourself! We don't just look at it. This is a hands-on course where you can make and develop a simple calculator project together, and make what you learn your own.



  • Just testing? NO! Make the entire development process easier! Testing is the basics! From code style checks, formatting, to simultaneous testing in multiple environments. Automate all the annoying processes with Nox to improve the quality of development.


🚀 After class, we...

  • Instead of feeling anxious and wondering, “Is this okay?” you will feel confident and say, “No problem!”

  • You'll leave repetitive tasks to the computer and focus on more creative and important work .

  • You might hear your colleagues say , "Wow, this code is really clean and stable!"

  • You can become a trustworthy colleague who will take the team's development culture to the next level.

I recommend this to these people

"I know I have to test, but..." A beginner in testing who is completely lost


Developers who want to improve efficiency by always testing manually and running out of time


Backend developer who wants to create a more stable and reliable service


Learn about these things.

How to properly test with Pytest

'Ah, so this is how you write test code!' You'll hit your knees. We'll teach you advanced pytest techniques used in practice, such as fixtures and mocking.


Automate annoying tasks with Nox

The magic of completing annoying tasks like running tests, organizing code, etc. with a single command! Learn how to create your own automation session with nox.


Collaborate Smartly with CI/CD

Let's connect the automation logic I created to GitHub Actions. It will be really convenient because the robot will automatically test the code every time you upload it.



'Coverage' to find loopholes in my code

If you ever wondered, “How thorough are my tests?”, measure coverage. You can find out which parts of your code you missed and create more complete tests.

I am Haeyeo , exploring the infinite possibilities of AI and computer engineering, and would like to share that journey with you.


During my undergraduate years, I was called a 'computer engineering addict' because of my passion for my major, and I graduated at the top of my class with a GPA of 4.4 or higher. I majored in AI at S Graduate School and received a master's degree, and deepened my expertise through a doctoral program.


However, as much as I was fascinated by theoretical exploration, I was also fascinated by solving real-world problems with AI and backend development, so I put my PhD on hold to gain valuable practical experience by working on an AI-based LLM and video analytics project at a startup.


Currently, I am working as an LLM project developer and PM at one of the top 3 domestic companies, contributing to the positive changes that AI technology will bring to our lives. I will share with you the concerns I have experienced, the process of solving them, and the vivid know-how I have gained from the field.


We will be your reliable guide on your journey into the exciting world of development.

Things to note before taking the class

Practice environment

  • The terminal in the lecture is based on Mac!

Player Knowledge and Notes

  • Basic Python Grammar


Recommended for
these people

Who is this course right for?

  • Python developer new to systematic testing

  • Developer weary of repetitive dev work, needing automation.

  • Backend Developer to build stable services and APIs

  • Developer who wants to improve team's code quality and development culture

Need to know before starting?

  • Basic Python programming ability

Hello
This is

316

Learners

10

Reviews

20

Answers

4.8

Rating

5

Courses

반갑습니다!

AI와 컴퓨터 공학의 무한한 가능성을 탐구하며, 그 여정을 여러분과 나누고 싶은 해여입니다.

학부 시절 '컴퓨터 공학 중독자'라 불릴 만큼 전공에 대한 열정으로 4.4점 이상의 전공 학점으로 수석 졸업하였고, S대학원에서 AI를 전공하며 석사 학위를 받고 박사 과정을 통해 전문성을 심화했습니다.

하지만 이론적 탐구만큼이나 실제 세상의 문제를 AI로 해결하는 것에 큰 매력을 느껴, 박사 과정을 잠시 멈추고 스타트업에서 AI 기반 LLM 및 비디오 분석 프로젝트를 경험하며 귀중한 실전 경험을 쌓았습니다.

지금은 국내 Top3 대기업 중 한 곳에서 LLM 프로젝트 개발 및 PM으로 일하며, AI 기술이 우리 삶에 가져올 긍정적인 변화들을 만들어가는 데 기여하고 있습니다. 제가 겪었던 고민과 해결의 과정, 그리고 현장에서 얻은 생생한 노하우들을 여러분께 아낌없이 전달해 드리겠습니다. AI라는 흥미로운 세계로의 여정에 든든한 길잡이가 되어 드릴게요.

Curriculum

All

22 lectures ∙ (9hr 58min)

Published: 
Last updated: 

Reviews

All

1 reviews

5.0

1 reviews

  • roach님의 프로필 이미지
    roach

    Reviews 7

    Average Rating 4.4

    5

    32% enrolled

    • 해여
      Instructor

      안녕하세요, 강사해여입니다. 먼저 수강신청해주셔서 너무 감사드려요 :) 소중한 수강평 감사드립니다! 감사합니다.

Limited time deal ends in 8 days

$44,550.00

25%

$46.20

haeyeomiso's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!