Skip to content

patrickaod/Learning-Pytest-Project-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Learning-Pytest-Project-1

This project helps explore and learn pytest by testing basic Python logic and simple API routes built with vanilla Python. It covers writing test cases, using fixtures, parameterised tests, and mocking. The goal is to build strong testing skills and integrate CI/CD for automated testing with GitHub Actions.

Description

This project is designed to help me learn and master the pytest framework by writing tests for basic Python logic and API routes built using vanilla Python. The goal is to explore various features of pytest, including test case creation, fixtures, parameterized tests, and mocking, while applying them to simple applications. This project will serve as a practical reference for testing in Python, as well as an opportunity to integrate continuous testing using GitHub Actions.

The project covers:

  • Writing tests for basic Python functions (e.g., arithmetic operations, string manipulation).
  • Testing simple API routes using Python’s built-in HTTP server.
  • Exploring advanced pytest features like fixtures, parameterized tests, and mocking.
  • Integrating test coverage and CI/CD for automated testing.

This project is part of my journey to become more proficient in testing and to build a strong foundation for writing maintainable Python code.

About

This project helps explore and learn pytest by testing basic Python logic and simple API routes built with vanilla Python. It covers writing test cases, using fixtures, parameterised tests, and mocking. The goal is to build strong testing skills and integrate CI/CD for automated testing with GitHub Actions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors