{"id":22339474,"url":"https://github.com/trainingitcourses/vaas-angular_testing-diciembre","last_synced_at":"2026-04-28T20:34:55.984Z","repository":{"id":64960204,"uuid":"577220684","full_name":"TrainingITCourses/vaas-angular_testing-diciembre","owner":"TrainingITCourses","description":"🅰️ Curso de Angular Testing para Vaas","archived":false,"fork":false,"pushed_at":"2022-12-21T18:04:24.000Z","size":2870,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-31T10:25:38.663Z","etag":null,"topics":["angular","course","testing"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TrainingITCourses.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-12-12T08:51:58.000Z","updated_at":"2022-12-31T12:13:51.000Z","dependencies_parsed_at":"2023-01-30T04:30:42.322Z","dependency_job_id":null,"html_url":"https://github.com/TrainingITCourses/vaas-angular_testing-diciembre","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrainingITCourses%2Fvaas-angular_testing-diciembre","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrainingITCourses%2Fvaas-angular_testing-diciembre/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrainingITCourses%2Fvaas-angular_testing-diciembre/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TrainingITCourses%2Fvaas-angular_testing-diciembre/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TrainingITCourses","download_url":"https://codeload.github.com/TrainingITCourses/vaas-angular_testing-diciembre/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245623077,"owners_count":20645680,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","course","testing"],"created_at":"2024-12-04T07:08:29.058Z","updated_at":"2026-04-28T20:34:50.951Z","avatar_url":"https://github.com/TrainingITCourses.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Angular Laboratory\n\n\u003e A sample project for Angular workshop demos\n\n- **♊ Clone Repository on gitHub** _https://github.com/TrainingITCourses/vaas-angular_testing-diciembre _\n\n- 🚚 Install dependencies `npm i`\n\n- 🚀 Execute `npm run api` and `npm start` to run the app.\n\n- 📕 Read the `docs` folder content for more info.\n\n## Unit and Integration testing with only Jasmine alone\n\n- **Base Store** `src\\app\\services\\base.store.spec.ts` _Unit_\n- **Api Store** `src\\app\\services\\api.store.spec.ts` _Integration_\n- **Spec Reporter** `npm install karma-spec-reporter --save-dev` _Add spec reporter_\n- **tests** `src\\test.spec.ts` _Choose running context_\n- **Karma Config** `karma.conf.js` _Configuration_\n\n## Jasmine Spy and test doubles\n\n- **Options Service** `src\\app\\routes\\options\\options.service.spec.ts` _Spy calls to Collaborator_\n- **Base Store** `src\\app\\services\\base.store.spec.ts` _Spy private methods_\n- **Api Store** `src\\app\\services\\api.store.spec.ts` _Spy and stub dependencies_\n- **TimeSpan Pipe** `src\\app\\pipes\\time-span\\time-span.pipe.spec.ts` _Extract logic from Angular artifacts_\n\n## Test Bed: imports and providers\n\n- **Api Service** `src\\app\\services\\api.service.spec.ts` _HttpClientTestingModule_\n- **Utils Service** `src\\app\\services\\utils.service.spec.ts` _inject a mock_\n- **Home Service** `src\\app\\routes\\home\\home.service.spec.ts` _integrated -\u003e imports vs isolated -\u003e providers_\n\n## Component testing\n\n- **Agencies Component** `src\\app\\routes\\agencies\\agencies.component.spec.ts` _integrated controller - isolated template_\n- **Bookings Component** `src\\app\\routes\\bookings\\bookings.component.spec.ts` _isolated student task_\n- **Options List** `src\\app\\routes\\options\\options.list.spec.ts` _OnPush / Hosted_\n- **Home Component** `src\\app\\routes\\home\\home.component.spec.ts` _nested dependencies_\n- **Trips Form filling** `src\\app\\routes\\trips\\trips.form.spec.ts` _form interaction_\n\n---\n\n\u003cfooter\u003e\n  \u003ch3\u003e🧑🏼‍💻 By \u003ca href=\"https://albertobasalo.dev\" target=\"blank\"\u003eAlberto Basalo\u003c/a\u003e \u003c/h3\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://twitter.com/albertobasalo\" target=\"blank\"\u003e\n      \u003cimg src=\"https://img.shields.io/twitter/follow/albertobasalo?logo=twitter\u0026style=for-the-badge\" alt=\"twitter albertobasalo\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n  \u003cp\u003e\n    \u003ca href=\"https://github.com/albertobasalo\" target=\"blank\"\u003e\n      \u003cimg \n        src=\"https://img.shields.io/github/followers/albertobasalo?logo=github\u0026label=profile albertobasalo\u0026style=for-the-badge\" alt=\"git albertobasalo\" /\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/footer\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrainingitcourses%2Fvaas-angular_testing-diciembre","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrainingitcourses%2Fvaas-angular_testing-diciembre","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrainingitcourses%2Fvaas-angular_testing-diciembre/lists"}