https://github.com/arrighidante/angulartestsapp
https://github.com/arrighidante/angulartestsapp
angular jest unit-testing
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arrighidante/angulartestsapp
- Owner: arrighidante
- Created: 2024-03-14T20:00:49.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-17T18:59:43.000Z (over 1 year ago)
- Last Synced: 2025-01-16T23:44:40.091Z (over 1 year ago)
- Topics: angular, jest, unit-testing
- Language: TypeScript
- Homepage:
- Size: 168 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# My Test App with apps :rocket:
This is a test project that contains several mini Angular applications. The main purpose of this project is to perform tests using Jest.

This project was created following [this guide by Fernando Herrera](https://www.youtube.com/playlist?list=PLCKuOXG0bPi205CKoCh2bgcv9oXS6sO3a).
Feel free to use it if you want to practice with Jest. Remember to remove the test folder and start with the testing! Enjoy it!
## Versions :label:
- Angular: 17.0.0
- Jest: 27.0.0
- jest-environment-jsdom: 29.7.0
- jest-preset-angular: 14.0.3
## Testing :white_check_mark:
To run the tests, use the following command:
```bash
npm run test
```
You can follow these steps to select a specific test that match with the entered search term:
1. Run the test
2. Press 'w' key to open the options panel
3. Press 'p' to filter by a filename
4. Press 'enter' to confirm
5. Only the tests that match will be excecuted
## Run :running:
To run the project, use the following command:
```bash
ng serve -o
```
## Contributing :handshake:
Contributions and suggestions are welcome. Please open an issue or a pull request for suggestions or improvements.