how to make a test driven development environment 3
Since I am the greatest programmer in the world, I should not be doing as much repetition as I have done so far. I have to make it better
review
To review, here are steps I take to automate making the environment for every project
on a computer with MacOS, Linux or Windows with Windows Subsystem for Linux
I give the project a name
I open
makePythonTdd.shormakePythonTdd.ps1I change the name of the project to the new project name
I make the test pass
I start working on the project
I want to give one command for the program with the name of the project and have it do all the steps for me except
give the project a name
make the test pass and
work on the project
this way I only need to do 2 or 3 steps instead of 6
As a reminder here is what the structure looks like if the name of the project is PROJECT_NAME
PROJECT_NAME
├── requirements.txt
├── src
│ └── PROJECT_NAME.py
├── tests
│ ├── __init__.py
│ └── test_PROJECT_NAME.py
└── .venv
what is covered?
These chapters show how I add a variable to a program so it makes a Python Test Driven Development environment automatically on any computer (Linux, Windows, MacOS) when I give it a name
they cover the following
on Linux, MacOS and Windows with Window Subsystem for Linux computers
On Windows computers without Windows Subsystem for Linux
at the end of the chapter you will know how to automatically make a Python Test Driven Development project for MacOS, Linux, Windows Subsystem for Linux and Windows without Windows Subsystem for Linux from the terminal