This is a demo testing project for https://buggy.justtestit.org.
It includes exploratory testing and automation testing.
For the outcome of exploratory testing, please refer to the Bug Report
For automation testing, it uses Cypress + Javascript as the solution. For how to run the tests and review the test report please refer to the details below.
- node.js: go to https://nodejs.org/en/download/ and install the latest LTS version
- git: go to https://git-scm.com/downloads/ and install the latest version
cd /yourusername/projects
git clone https://github.com/hunternz/buggy-fun.git
cd /yourusername/projects/buggy-fun
npm install
npx cypress version
npx cypress verify
- There 14 test cases that cover 5 major functions which are
- Login
- Logout
- Register user
- Update user profile
- Vote
- There is 1 test case for Logout should always fail since it's catching a bug
npx cypress open
In the Cypress Test Runner, select Chrome as the browser then click "Run 5 integration specs" to launch a Chrome window to run all the tests
npm run test-and-report
- Please ignore the
npm ERRif there is any - The html report is generated in the folder
/yourusername/projects/buggy-fun/cypress/reports/html, open theindex.htmlfile in any browser to check the test result - There is a sample report could be found in the folder
/yourusername/projects/buggy-fun/cypress/SampleReports/html - It has to do a cleanup each time before running
npm run test-and-report, just delete theresultsandreportsfolders and empty the recycle/trash bin


