Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 502 Bytes

README.md

File metadata and controls

22 lines (18 loc) · 502 Bytes

Automated Test With Pytest

This repo contains code for tutorial on unit testing with pytest

Requirements

  • Python 2.7 / 3.x with
    • pip
    • virtualenv
  • Text editor

Setup

  1. Clone repo or download zip
    $ git clone [email protected]:arnawldo/pykla-pytest.git
    $ cd pykla-pytest

  2. (Optional) Setup a virtual environment
    $ virtualenv venv
    $ source venv/bin/activate
    On windows
    $ .\venv\Scripts\activate

  3. Install pytest pip install -U pytest