Add doc on functional testing tools

This commit is contained in:
Colin Goutte 2023-08-25 10:36:37 +02:00
parent 4462b7c6fb
commit 89a6b4bead
2 changed files with 22 additions and 0 deletions

2
.gitignore vendored
View File

@ -3,3 +3,5 @@ __pycache__/
.venv*
*.py[o|c]
**_build/
geckodriver.log

View File

@ -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