CommencerCommencer gratuitement

Creating the test directory

To get started writing tests for your code, the first thing you need to do is create a test directory inside your package. Matching the structure of this directory to that of your source code directory makes it easier for users and automated tools to examine and run these tests.

Cet exercice fait partie du cours

Developing Python Packages

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice