Skip to content

Simple Python projects for ilustrating clean architecture, package management and tests.

Notifications You must be signed in to change notification settings

san99tiago/python-clean-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✅ PYTHON CLEAN TESTS ✅

This simple repository is an example on how to develop Python-based projects with clean architecture approaches. It will cover multiple examples and environments so that it replicates a real-life scenario for Python developments.



These projects are inspired by:

  • Corey Schafer, thanks for the free amazing tutorials, they are amazing!
  • Real Python, I am grateful for having such an amazing documentation and examples!
  • All the amazing open-source contributors that make it possible to create these amazing Python functionalities!

The information of this repository is based on many online tutorials, so feel free to use it as a guide for your future projects, enjoy!.

Dependencies 🚦

The dependencies are explained in detail for each project, but the most important one is Python (regardless your operating system).


Software dependencies (based on project)

  • Visual Studio Code
    Visual Studio Code is my main code editor for high-level programming. This is not absolutely necessary, but from my experience, it gives us a great performance and we can link it with Git and GitHub easily.

  • Python
    Python is an amazing dynamic programming language that lets us work fast, with easy and powerful integration of different software solutions.

Libraries and Package dependencies (based on project)

  • UnitTest
    This unit testing framework was originally inspired by JUnit and has most functionalities of major unit testing frameworks. It allows us to test code in an object-oriented approach.

  • PyTest
    This is a framework that enables the creation of easy readable tests and can scale up to handle more complex functionalities for applications and libraries.

Usage 🎨

All sample-projects are well commented and most of them have specifications and remarks for their purpose and I/O (search for additional README.md files).

Author 🎹

Santiago Garcia Arango.