Testing for our project - panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4 GitHub Wiki

Unit test

Frontend

git clone https://github.com/panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4.git
cd Project-SW-DEV-TOOLS-AND-ENV-Group4
cd frontend
npm run serve
.

Backend

git clone https://github.com/panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4.git
cd Project-SW-DEV-TOOLS-AND-ENV-Group4
cd backend
.

Component test

Frontend

git clone https://github.com/panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4.git
cd Project-SW-DEV-TOOLS-AND-ENV-Group4
cd backend
.

Backend

git clone https://github.com/panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4.git
cd Project-SW-DEV-TOOLS-AND-ENV-Group4
cd frontend
npm run serve
.

End-to-end test

  1. เปิด Terminal ขึ้นมาแล้วเริ่มต้นการทดสอบ End-to-end โดยใช้คำสั่ง
git clone https://github.com/panupongth148/Project-SW-DEV-TOOLS-AND-ENV-Group4.git
cd Project-SW-DEV-TOOLS-AND-ENV-Group4
cd frontend
npm run cypress:run
  1. รอจนการทดสอบเสร็จสิ้น และบันทึกผลการทดสอบ