https://github.com/mayashavin/pizza-store-demo
https://github.com/mayashavin/pizza-store-demo
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mayashavin/pizza-store-demo
- Owner: mayashavin
- Created: 2024-01-25T17:40:35.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T09:44:45.000Z (over 1 year ago)
- Last Synced: 2025-02-01T01:51:16.388Z (over 1 year ago)
- Language: JavaScript
- Size: 223 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Pizza demo project for component testing
This project is a demo project to show how to compare different component testing frameworks. The frameworks that are compared are:
- [Vitest](https://vitest.io)
- [Playwright](https://playwright.dev/docs/test-components)
The demo project is a simple pizza ordering Vue application, designed for my talk **"We may not need component (unit) testing"**.
## Talk slides
The slides for the talk can be found [here](https://drive.google.com/file/d/12yw7fdbI2oat_M-fWcPWKxlW9B-pbBxq/view?usp=sharing).
## How to run the project
1. Clone the project
2. Run `yarn`
3. Run unit tests by Vitest: `yarn test:unit`
4. Run component tests by Playwright with UI: `yarn test-ct`
## Other resources
- [Pizza store project in React](https://github.com/mayashavin/pizza-store-demo-react)