Angular Unit Testing Course - All That You Need to Know About Testing

  Рет қаралды 24,481

Monsterlessons Academy

Monsterlessons Academy

Күн бұрын

Пікірлер: 49
@FinanzMinimalist
@FinanzMinimalist 11 ай бұрын
Awesome! This comes to the right time :) Please keep up the great content.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Thank you so much for your support. It means a lot to me!
@marcogrillo3396
@marcogrillo3396 8 ай бұрын
This is definitely the BEST course on Angular Testing. I also bought your full course. Thank you, keep up the good work!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 8 ай бұрын
Glad you enjoy it!
@ovuokeaghwotu2389
@ovuokeaghwotu2389 4 ай бұрын
What I enjoy about your videos is how practical they are. They have immediate use in most large-scale Angular apps. Thank you for your work.
@MonsterlessonsAcademy
@MonsterlessonsAcademy 4 ай бұрын
Glad you like them!
@benchik100
@benchik100 3 ай бұрын
I really like your channel!! English is very clear and pleasant to my ear, the material is served very well!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 3 ай бұрын
Thank you! 😃
@devcognicion
@devcognicion Ай бұрын
Awesome! Do you have any advice about testing with the new features in Angular v19? Thanks!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
What specifically? Testing signals is the same except of input signals. I didn't try to test defer yet.
@devcognicion
@devcognicion Ай бұрын
​@@MonsterlessonsAcademy Oh nice, yep about control-flow, but as you said maybe im deeping a lot in DOM and not the behaivor code Thanks!
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
@@devcognicion There are no changes for tests for control flow. It just works.
@bjeouisaber2391
@bjeouisaber2391 Ай бұрын
Thnks for video, I would say using jest-preset-angular to compile tests will end up being slower than jasmine and the advantage of using jest is no longer an advantage really, Angular added an experimental official support for jest and it uses esbuild internally which means super fast tests with Jest, why didn't you opted for that ?
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
I never felt a slowness of jest preset. I didn't use esbuild with jest because it is experimental and not something that I would put in the course.
@abhinav2554131
@abhinav2554131 7 ай бұрын
Very well explained in just an hour i went from zero to being confident, however could you also suggest how to unit test the components?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 7 ай бұрын
I cover everything about components testing including real project testing in the full course
@mahmoudadel1542
@mahmoudadel1542 2 ай бұрын
Can you tell me please which editor you are using?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 2 ай бұрын
It's Vim
@uaplatformacomua
@uaplatformacomua 11 ай бұрын
Awesome course, thank you
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Glad you like it!
@uaplatformacomua
@uaplatformacomua 11 ай бұрын
It lacks the link to github with this code...
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
It's a part of the paid course. You get access to the code under every single video inside a full course
@uaplatformacomua
@uaplatformacomua 11 ай бұрын
@@MonsterlessonsAcademy Oh, I see. Thank you ☺️
@terenceroberts5240
@terenceroberts5240 Ай бұрын
Where is the download code for the video?
@MonsterlessonsAcademy
@MonsterlessonsAcademy Ай бұрын
source code is available in the full course
@ekchills6948
@ekchills6948 6 ай бұрын
Woww!! I learned so much thank you
@MonsterlessonsAcademy
@MonsterlessonsAcademy 6 ай бұрын
Glad it was helpful!
@DarrellGamble-bi4up
@DarrellGamble-bi4up 10 ай бұрын
Would this work with Angular 14?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 10 ай бұрын
Yes. The only difference is that standalone components are not there yet but it doesn't change anything. You inject a component in the test in another way. This is it.
@DarrellGamble-bi4up
@DarrellGamble-bi4up 10 ай бұрын
You're a great presenter. Keep doing what you do!@@MonsterlessonsAcademy
@peter3818
@peter3818 8 ай бұрын
As far as I know, you can simply destructure the 'expect' function from the callback parameter object inside 'it', in order to make it work with asynchronous code. Something like this: it('should expect asynchronously', ({ expect }) => {api.getTags().subscribe((response) => { expect(response).toBeTruthy(); })}) But maybe this is just working with vitest, don't know for sure. Anyways, thanks for the content!
@MonsterlessonsAcademy
@MonsterlessonsAcademy 8 ай бұрын
Sure there are multiple variants to do that
@valerio9851
@valerio9851 11 ай бұрын
I followed this video till minute 21 and I am stuck. I have this error when running the test: ({"Object.":function(module,exports,require,__dirname,__filename,jest){import { range } from './utils'; ^^^^^^ SyntaxError: Cannot use import statement outside a module at Runtime.createScriptFromCode (node_modules/jest-runtime/build/index.js:1505:14) Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 0.916 s Ran all test suites. I can't fix it. can you help me please?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Unfortunately I can't help without debugging your code.
@ThisLineCrossed
@ThisLineCrossed 8 ай бұрын
Are you sure you have not nested the import-Statement somewhere? Did you correctly place the import in the beforeEach function? Any syntax errors or anything else like that?
@MariemAMAMI
@MariemAMAMI 5 ай бұрын
same error
@sergeu90
@sergeu90 11 ай бұрын
For react will be useful also
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
I will add it to the list of future courses
@sergeu90
@sergeu90 11 ай бұрын
@@MonsterlessonsAcademy a lot of thanks
@mma-dost
@mma-dost 11 ай бұрын
Please upload for react too and next js.
@sergeu90
@sergeu90 11 ай бұрын
I want also for react.
@mma-dost
@mma-dost 11 ай бұрын
you too comment maybe he will read yours he havent replied to mine comment
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Thank you. I will add it in the list of ideas for the next course
@mma-dost
@mma-dost 11 ай бұрын
thanks a lot sir @@MonsterlessonsAcademy
@ngathanh8438
@ngathanh8438 11 ай бұрын
thanks
@MonsterlessonsAcademy
@MonsterlessonsAcademy 11 ай бұрын
Welcome
@ucretsiztakipci6612
@ucretsiztakipci6612 11 ай бұрын
35:00
@ChadiKawaf
@ChadiKawaf 9 ай бұрын
where is the source code?
@MonsterlessonsAcademy
@MonsterlessonsAcademy 9 ай бұрын
As this is a part of the full course you get access to the course code of each video inside the course.
Angular Code Review Best Practices - Refactoring From Junior Level to Senior
27:10
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Effective Unit Testing by Eliotte Rusty Harold
48:10
Devoxx
Рет қаралды 105 М.
Angular Testing in 2023: Past, Present, and Future
26:21
Rainer Hahnekamp
Рет қаралды 13 М.
Angular Signals Example - Learn Them by Doing
50:50
Monsterlessons Academy
Рет қаралды 13 М.
How language model post-training is done today
53:51
Interconnects AI
Рет қаралды 6 М.
How principled coders outperform the competition
11:11
Coderized
Рет қаралды 1,8 МЛН
From Beginner to Pro: Demystifying Angular Change Detection in Depth
12:56
Monsterlessons Academy
Рет қаралды 8 М.
Angular 19 Features: A Game-Changing Evolution
10:19
Monsterlessons Academy
Рет қаралды 10 М.
I bet you can write an Angular UNIT TEST after this video
8:35
Joshua Morony
Рет қаралды 41 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН