Project realized for 'Software Engineering' exam.
- Paolo Marchetti (1986485)
- Davide Vittucci (1903954)
- Lorenzo Zanda (2006432)
Clone the repository:
git clone https://github.com/lorezvn/software_engineering.git
cd software_engineeringRun the install.sh script to install the required dependencies:
sh install.shRun the compile.sh script to build the project:
sh compile.shTo start the project, run the following command:
sh run.shTo stop all processes related to the project, run:
sh run.sh --killAfter the project is running (see Running the project) to test the API methods, follow these steps:
- Navigate to the
testerdirectory:
cd tester- Run the test script:
python test.pyThis will initiate testing for all the API methods listed in the section API Methods.
You can modify the number of requests made by the test_for_all() function by adjusting the following field in the code:
- richieste: Specifies the number of requests per API method.
- add-utente
- add-richiesta-prestito
- ricerca-libri
- visualizza-prestiti
- visualizza-sanzioni
- update-username
- add-bibliotecario
- add-edizione
- add-sanzione
- add-prestito
- add-richiesta-restock
- visualizza-copie
- estingui-sanzione
- revoca-sanzione
- termina-prestito
- visualizza-richieste-prestito
- visualizza-restock
- rifiuta-richiesta-prestito
- delete-copia
- add-fornitore
- add-restock
- visualizza-richieste-restock
- rifiuta-richiesta-restock