Testing for project - konlawatit/SWDEV-BBP-PLUS GitHub Wiki

Tools

  • Unit Testing
    • Frontend : Jest
    • Backend : Jest
  • Component Testing
    • Frontend : Jest
    • Backend : Jest
  • End-to-End Testing
    • Frontend : Cypress
    • Backend : Jest

Testing Project

Frontend

git clone https://github.com/konlawatit/SWDEV-BBP-PLUS.git testing

cd testing/frontend

npm install
  • Unit Testing
npm run unit-test
  • Component Testing
npm run component-test
  • End-to-End Testing

Must "npm run dev" in another terminal

npm run dev
npm run e2e-test