Skip to content

artmadeit/exams

Repository files navigation

Exams

  • Instalar vscode java
  • Instalar https://sdkman.io/
  • Instalar java 16 con sdkman: sdk install java 16.0.1.hs-adpt
  • Crear BD, conectar a psql y luego: create database exams;
  • Levantar app: ./mvnw spring-boot:run

Test

Unit testing

  • mvn test
  • mvn jacoco:report for test coverage

Load testing

  • Run test workflow folder in postman
  • Install k6
  • Run test stress script with k6: k6 run stress.js

TODO:

  • ejecutar prueba de performance (al iniciar un examen y actualizar una pregunta y respuesta)

postgres://wgqdtaoj:F1V-uNQm52jqTPdGCBwILP3n1RvRUnRp@sharp-elderberry.db.elephantsql.com/wgqdtaoj pg_dump -U wgqdtaoj -d wgqdtaoj -h sharp-elderberry.db.elephantsql.com -f sourcedb.sql

postgres://pidvakbc:RaRohPm06pxCmGPW6gEvD64Xo-dKkhg8@chunee.db.elephantsql.com/pidvakbc

psql -U wgqdtaoj -d wgqdtaoj -h sharp-elderberry.db.elephantsql.com

RaRohPm06pxCmGPW6gEvD64Xo-dKkhg8 psql -U pidvakbc -d pidvakbc -h chunee.db.elephantsql.com -f sourcedb.sql

postgres://paunblbp:f7vtcvvpLY02OI_s-kkTwpKLKrTN25Sl@chunee.db.elephantsql.com/paunblbp

postgres://paunblbp:f7vtcvvpLY02OI_s-kkTwpKLKrTN25Sl@chunee.db.elephantsql.com/paunblbp

About

pruebita

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •