Skip to content

drake-mer/pytest-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Content of the repository

This repository contains code snippets to demonstrate abilities and usual use of the pytest framework.

Demonstration of Fixture

We demonstrate how to create and use fixtures within the Pytest Framework Code is contained into:

  • pytest_fixture_demo.py

Monkey Patching

Some code here is used to demonstrate monkeypatching abilities

Code is contained into the folder:

  • monkeypatching_demo/

Creating a FTP server fixture

With pyftpdlib, we create a test FTP fixture object. Useful to test code against a FTP server created at runtime.

Demo code is contained into:

  • ftp_fixture_demo.py

About

pytest-examples

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages