-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,25 @@ | ||
# frontend | ||
|
||
## Project setup | ||
``` | ||
npm install | ||
``` | ||
|
||
### Compiles and hot-reloads for development | ||
``` | ||
npm run serve | ||
``` | ||
|
||
### Compiles and minifies for production | ||
``` | ||
npm run build | ||
``` | ||
|
||
### Run your unit tests | ||
``` | ||
npm run test:unit | ||
``` | ||
|
||
### Run your end-to-end tests | ||
``` | ||
npm run test:e2e | ||
``` | ||
|
||
### Lints and fixes files | ||
``` | ||
npm run lint | ||
``` | ||
|
||
### Customize configuration | ||
See [Configuration Reference](https://cli.vuejs.org/config/). | ||
|
||
## Jest | ||
``` | ||
npx jest | ||
``` | ||
|
||
## Copertura del codice | ||
``` | ||
npx jest --coverage | ||
``` | ||
|
||
## Cypress | ||
``` | ||
npx cypress open | ||
``` | ||
# Installazione | ||
|
||
- Clonare la repository; | ||
- Tramite Command Shell posizionarsi nel percorso ./frontend; | ||
- Installare le dipendeze con il comando: | ||
- **npm install** | ||
- Avviare il frontend con il comando: | ||
- **npm run serve** | ||
|
||
La web application sarà visibile all'indirizzo visualizzato sul terminale tramite browser. | ||
Per utilizzare le funzionalità dell'applicazione è necessario che il server sia in esecuzione | ||
|
||
# Testing | ||
|
||
Per eseguire l'analisi statica eseguire il comando: | ||
|
||
- **npm run lint** | ||
|
||
Per eseguire i test di unità e di integrazione eseguire il comando: | ||
|
||
- **npx jest** | ||
|
||
Per eseguire i test di sistema eseguire il comando: | ||
|
||
- **npx cypress run** |