Skip to content

tchappui-python-lab/pytestworkshop-pyconfr

Repository files navigation

Integration Tests in Pytest Workshop - Pycon FR 2019

Welcome to our workshop. Please read this instruction and download neccesary packages before workshop, which will let us start easier and faster.

To do it, clone repository from https://github.com/mahomahomaho/pytestworkshop-pyconfr and setup it with or without vagrant:

With vagrant

The easy way

  • download vagrant (if you don't have it yet)
  • cd <thisrepo>/vagrant
  • vagrant up
  • vagrant ssh

Without vagrant

The perfect way :)

  • make virtualenv in preferred way and activate it (eg. python3 -m venv .venv && . .venv/bin/activate)
  • pip install -r requirements/base.txt
  • pip install -r requirements/dev.txt
  • pip install -r requirements/test.txt
  • install docker and docker-compose

software itself

Software itself can be run by python manage.py runserver

Launching the tests

Launch the tests using the following command pytest -vvv --keepalive

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors