Cademy logoCademy Marketplace

Course Images

Test Automation with Python  (TTPS4832)

Test Automation with Python (TTPS4832)

  • 30 Day Money Back Guarantee
  • Completion Certificate
  • 24/7 Technical Support

Highlights

  • Delivered Online

  • Two days

  • All levels

Description

Duration

2 Days

12 CPD hours

This course is intended for

This in an introductory-level course geared for QA, Test team members and others who want to use the Python testing framework PyTest to implement code testing strategies. Attendees should have prior basic Python scripting experience. Students should have some familiarity with tools to be used in this course: PyCharm, Jupyter Notebook and basic GIT.

Overview

Working within in a hands-on learning environment students will learn to:
Become proficient with pytest from day one by solving real-world testing problems
Use pytest to write tests more efficiently
Scale from simple to complex and functional testing
Write and run simple and complex tests
Organize tests in fles and directories
Find out how to be more productive on the command line
Markers and how to skip, xfail and parametrize tests
Explore fxtures and techniques to use them effectively, such as tmpdir, pytestconfg, and monkeypatch
Convert unittest suites to pytest using little-known techniques

The pytest framework is simple to use but powerful enough to cover complex testing integration scenarios. PyTest is considered by many to be the true Pythonic approach to testing in Python. Geared for QA, Test team members and others who want to use the Python testing framework PyTest to implement code testing strategies, Test Automation with Python is a hands-on, two day Python testing course that provides students with the skills required to get started with PyTest right away. Participnats will learn how to get the most out of it in their daily workflow, exploring powerful mechanisms and plugins to facilitate many common testing tasks. Students will also learn how to use pytest in existing unittestbased test suites and will learn some tricks to make the jump to a pytest-style test suite quickly and easily.

Python Refresher

  • Python Overview
  • Python Basics
  • Python Lab

Introducing PyTest

  • Why Spend time writing test
  • UnitTest Module
  • Why PyTest?
  • Introductory Lab

Writing and Running Test

  • Installing PyTest
  • Writing and Running Tests
  • Organizing files and packages
  • Command Line options
  • Configure pytest.ini
  • Install and Config Lab

Markers and Parameters

  • Mark Basics
  • Built-in marks
  • Parameterization
  • Markers and Parameters Lab

Fixtures

  • Introduction to Fixtures
  • Sharing fixtures with conftest.py files
  • Scopes
  • Autouse
  • Parameterizing fixtures
  • Using marks from fixtures
  • Built-in fixtures
  • Best Practices
  • Fixtures Lab
  • Fixtures Lab 2

Plugins

  • Finding and installing plugins
  • Overview of plugins
  • Plugin Lab

From UnitTest to PyTest

  • Use PyTest as a Test Runner
  • Convert asserts with unitest2pytest
  • Handling setup/teardown
  • Managing test hierarchies
  • Refactoring test utilities
  • Migration strategies

Additional course details:


Nexus Humans Test Automation with Python (TTPS4832) training program is a workshop that presents an invigorating mix of sessions, lessons, and masterclasses meticulously crafted to propel your learning expedition forward.

This immersive bootcamp-style experience boasts interactive lectures, hands-on labs, and collaborative hackathons, all strategically designed to fortify fundamental concepts.

Guided by seasoned coaches, each session offers priceless insights and practical skills crucial for honing your expertise. Whether you're stepping into the realm of professional skills or a seasoned professional, this comprehensive course ensures you're equipped with the knowledge and prowess necessary for success.

While we feel this is the best course for the Test Automation with Python (TTPS4832) course and one of our Top 10 we encourage you to read the course outline to make sure it is the right content for you.

Additionally, private sessions, closed classes or dedicated events are available both live online and at our training centres in Dublin and London, as well as at your offices anywhere in the UK, Ireland or across EMEA.

About The Provider

Nexus Human, established over 20 years ago, stands as a pillar of excellence in the realm of IT and Business Skills Training and education in Ireland and the UK....

Read more about Nexus Human

Tags

Reviews