Call : (+91) 968636 4243
Mail : info@EncartaLabs.com
EncartaLabs

pyTest

( Duration: 2 Days )

The Python unit testing framework, sometimes referred to as "PyUnit" is a Python language version of JUnit. In pyTest training course, you learn the pyTest framework tool usage to automate testing of applications.

  • Knowledge of Python programming language.

  • This pyTest workshop is ideal for Automation Testers & Pyton Developers.

COURSE AGENDA

1

Getting Started

  • Installation
  • What is Testing?
  • Need for Testing
  • Types of Testing
  • Writing Testcases
  • Testing Techniques
2

Introduction to Unit Test

  • Unit Testing in Python
  • Simple Unit test examples
  • Test discovery
  • Test Runner
  • Assert methods
3

Skipping tests and expected failures in unittest

  • Using the skip() decorator
  • Decorators to implement test skipping and expected failures
4

Fixtures in unittest

  • What are fixtures ?
  • setUpClass and tearDownClass
  • setUpModule and tearDownModule
5

pytest

  • Why pytest?
  • Assertion rewriting with pytest
  • Running unittests from pytest
6

Parameterizing and Fixtures in pytest

  • What is Parameterizing ?
  • Parameterizing in pytest
  • pytest Fixtures
  • Benefits of pytest fixtures
  • Built-in Fixtures
7

pytest Plugins

  • Installing and Using plugins
  • pytest-cov
  • pytest-xdist
  • pytest-catchlog
  • pytest-timeout
  • pytest-sugar

Encarta Labs Advantage

  • One Stop Corporate Training Solution Providers for over 6,000 various courses on a variety of subjects
  • All courses are delivered by Industry Veterans
  • Get jumpstarted from newbie to production ready in a matter of few days
  • Trained more than 50,000 Corporate executives across the Globe
  • All our trainings are conducted in workshop mode with more focus on hands-on sessions

View our other course offerings by visiting https://www.encartalabs.com/course-catalogue-all.php

Contact us for delivering this course as a public/open-house workshop/online training for a group of 10+ candidates.

Top
Notice
X