behave4git

This project provides an extension (testing domain) of Behave to use Git and GitLab (and GitHub in the near future).


Keywords
behave4git, behave4cmd, behave, bdd
License
MIT
Install
pip install behave4git==0.4.0

Documentation

Behave 4 Command Line Interfaces

Linux build

This project provides an extension (testing domain) of Behave to use Git and GitLab (and GitHub in the near future)

  • Free software license: MIT

Features

  • Create a clean working directory
  • Create and delete environment variables
  • Run commands and check success/failure, return code and output
  • Create, delete and check existence of directories
  • Create, delete, check existence and check content of files
  • Check for current date and working directory paths in commands output and files content

How to use

Import the steps you want to use by creating a python file (we name it by convention use_steplib_behave4git.py) in your features/steps directory:

# -- REGISTER-STEPS FROM STEP-LIBRARY:
import behave4git.__all_steps__

Credits

See LICENSE file for most code credits/copyrights.

This package was created with Cookiecutter and the opinionated-digital-center/cookiecutter-pypackage project template.