mirror of
https://github.com/24eme/signaturepdf.git
synced 2023-08-25 09:33:08 +02:00
Documentation pour lancer des tests
This commit is contained in:
parent
3a5b268efe
commit
2039b105a5
25
README.md
25
README.md
@ -24,21 +24,21 @@ Dépendances :
|
|||||||
|
|
||||||
Sur debian :
|
Sur debian :
|
||||||
|
|
||||||
`
|
```
|
||||||
sudo aptitude install php librsvg2-bin pdftk imagemagick potrace
|
sudo aptitude install php librsvg2-bin pdftk imagemagick potrace
|
||||||
`
|
```
|
||||||
|
|
||||||
Récupération des sources :
|
Récupération des sources :
|
||||||
|
|
||||||
`
|
```
|
||||||
git clone https://github.com/24eme/signaturepdf.git
|
git clone https://github.com/24eme/signaturepdf.git
|
||||||
`
|
```
|
||||||
|
|
||||||
Pour le tester :
|
Pour le lancer :
|
||||||
|
|
||||||
`
|
```
|
||||||
php -S localhost:8000 -t public
|
php -S localhost:8000 -t public
|
||||||
`
|
```
|
||||||
|
|
||||||
## Librairies utilisées
|
## Librairies utilisées
|
||||||
|
|
||||||
@ -52,3 +52,14 @@ php -S localhost:8000 -t public
|
|||||||
- **OpenType.js** outils de transformation d'un texte et sa police en chemin : https://github.com/opentypejs/opentype.js (MIT)
|
- **OpenType.js** outils de transformation d'un texte et sa police en chemin : https://github.com/opentypejs/opentype.js (MIT)
|
||||||
- **ImageMagick** ensemble d'outils de manipulation d'images : https://imagemagick.org/ (Apache-2.0)
|
- **ImageMagick** ensemble d'outils de manipulation d'images : https://imagemagick.org/ (Apache-2.0)
|
||||||
- **Caveat** police de caractères style écriture à la main : https://github.com/googlefonts/caveat (OFL-1.1)
|
- **Caveat** police de caractères style écriture à la main : https://github.com/googlefonts/caveat (OFL-1.1)
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
Pour exécuter les tests fonctionnels :
|
||||||
|
|
||||||
|
```
|
||||||
|
make test
|
||||||
|
```
|
||||||
|
|
||||||
|
Les tests sont réalisés avec `puppeteer` et `jest`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user