Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

valenjet/tdd-exercises-python

Open more actions menu

Repository files navigation

tdd-exercises-python

This repository is a starter project for our exercises.

You will need an IDE like Visual Studio Code or PyCharm

You will need Python 3.10+ and pytest 8+

NOTE: pytest is a third-party library, and you should use a virtual environment and pip to install it. Read here to learn how to use a virtual environment

In your IDE, you should configure tests. You will be prompted to select a test framework and a folder containing the tests. We prefer that you use the pytest test framework.

Once your IDE is setup,

  1. Clone the repo
  2. Select the directory containing tests as getting_started
  3. If prompted, select the pattern to identify test files as test_*.py
  4. Run the tests contained in the file test_getting_started.py
  5. You should get 1 failing test with output that contains:
E       AssertionError: You are all set!

That's it. We are now ready to work on the exercises together.

About

Exercises for Test-Driven Development in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.