From 89a6b4bead95616c48da84c3d6ae75974b18a4c5 Mon Sep 17 00:00:00 2001 From: Colin Goutte Date: Fri, 25 Aug 2023 10:36:37 +0200 Subject: [PATCH] Add doc on functional testing tools --- .gitignore | 2 ++ README.rst | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/.gitignore b/.gitignore index a5c14e5..54cd5e6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ __pycache__/ .venv* *.py[o|c] **_build/ +geckodriver.log + diff --git a/README.rst b/README.rst index b18ac90..04893c8 100644 --- a/README.rst +++ b/README.rst @@ -39,3 +39,23 @@ if pipenv is *not* installed I suggest you have pipenv installed, this projet is writtent under python 3.12 and may work on other versiona We have a requirement of being virtualenv compatible while i will working with Pipenv. + + +Testing +------- + +Unitest should run flawlessly using make test, however functionnal testing may require some extra work. + +Functional testing requires *geckodriver* and *selenium* which is a driver to programatically control firefox (so one ca reproduce user behavior) + +.. code-block:: shell + + #debian + sudo apt-get install firefox-geckodriver + + # arch + sudo pacman -S geckodriver + + + +