メインコンテンツへスキップ
ホームPython

コース

Pythonによるテスト入門

上級スキルレベル
更新日 2025/06
Pythonのテストを習得。手法を学び、チェックを作成し、pytestとunittestでエラーのないコードを保証します。
コースを無料で開始
PythonProgramming
4 時間
16 ビデオ
53 演習
4,350 XP
24,855
修了証明書

無料アカウントを作成

Google で続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

何千もの企業の従業員が愛用

Group

チームのトレーニングを担当していますか?

ビジネス向けをお試しください

コース内容

前提条件

Writing Functions in PythonSoftware Engineering Principles in Python
1

Creating Tests with pytest

Learn what a test is and how to run the first one of your own with the pytest library! You will get used to the pytest testing framework and the command-line interface. You will also learn how to process specific contexts, like "failed tests" and "skipping the test" with pytest markers.
チャプター開始
2

Pytest Fixtures

Learn what a fixture is and how to simplify your code by using it in tests. You will get familiar with the fixture @pytest.fixture decorator and the fixture tools. You will analyze your code to see the "fixture part" in it. Finally, learn how to use teardowns to prevent software failures.
チャプター開始
3

Basic Testing Types

Learn what the basic testing types are and their features. Learn about test cases and how they help to implement tests. You will get more skilled with creating test functions and running pytest from CLI in IDE exercises. Finally, you will be able to differentiate the different testing types and create tests for each of them.
チャプター開始
4

Writing tests with unittest

Pythonによるテスト入門
コース完了

修了証明書を取得

この資格をLinkedInプロフィール、履歴書、CVに追加しましょう
ソーシャルメディアや人事評価で共有しましょう
今すぐ登録

19百万人を超える学習者と一緒にPythonによるテスト入門を今日から始めましょう!

無料アカウントを作成

Google で続行その他のオプションを表示

または


続行すると、弊社の利用規約プライバシーポリシーに同意し、データが米国に保存されることに同意したことになります。

DataCamp for Mobileでデータスキルを磨きましょう

モバイル コースと毎日の 5 分間のコーディング チャレンジで、外出先でも進歩できます。