Skip to content

Python Unit Tests

Ina Liu edited this page May 20, 2018 · 3 revisions

BDD for Python


Directory Structure:

kitt_cloud
├── utils
│      ├── init.py
│      └── myscript.py
└── test
          ├── myscript.feature
          └── steps
                     └── myscript_test.py


features:

  • Defines our behaviour scenarios

steps:

  • Defines the step implementation for each scenario

behave kitt_cloud/test

Clone this wiki locally