PaulinL / balance-ton-quizz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Balance ton quizz

balance-ton-quizz

Repository for the project "balance ton quizz"

HOW-TO Build and run

For the back, go to balance-ton-quizz-server directory, and then run :

Back

Go to balance-ton-quizz-server directory, and then run :

mvn install
mvn clean package
mvn spring-boot:run

Front

For the front, run a terminal and go to balance-ton-quizz-front. Then run :

npm install
npm start

Now you can access the front with localhost:4200 And the back with localhost:8484

Images

Download minio here : https://min.io/download
Then run these commands, on Windows OS :

set MINIO_ACCESS_KEY=minio
set MINIO_SECRET_KEY=minio-admin
minio server C:\<directory you want minio to run>

You can acces localhost:9000/, the images will be stored in a bucket.

Configuration

Change parameters on server (file : application.properties) to launch serveur

Database

Name Database : btq
User : root
Password : btq_polytech

Automatics Tests

Quality Gate Status

Automatics tests is doing with C# language, it use Framework Selenium to spot and make action with Web element Testcases :

  • Suscribe on site
  • Logout
  • Login
  • Create a quizz
  • Replay to a quizz

Execution

To launch automatics tests (on Windows) you need :

  • Google chrome (version 83.0.4103.97)
  • Enter all parameters for test on file "config.xml" (path : balance-ton-quizz\TestBalanceTonQuizz\TestBalanceTonQuizz\bin\Debug\netcoreapp3.1\config.xml)

Launch executable file "TestBalanceTonQuizz.exe" (path : balance-ton-quizz\TestBalanceTonQuizz\TestBalanceTonQuizz\bin\Debug\netcoreapp3.1\TestBalanceTonQuizz.exe)

Report

An HTML report is automaticaly generate to write all result for automatics tests, it should be open at the end of execution. You can fin all result report on folder "Reports" (path : balance-ton-quizz\TestBalanceTonQuizz\TestBalanceTonQuizz\bin\Debug\netcoreapp3.1\Reports)

Authors

Etienne BERRIE
Ludovic HAMEL
Paulin LAMBERT
Alexandre MARIE

About


Languages

Language:PureBasic 50.7%Language:C# 17.6%Language:TypeScript 12.8%Language:Java 9.8%Language:HTML 7.4%Language:CSS 1.1%Language:JavaScript 0.4%Language:Batchfile 0.1%Language:Dockerfile 0.0%