These are the tutorials the community needs. Every developer should use TDD to write production code and you exaplined it greatly. I'd be great to have a more in-depth video on jasmine testing, because it really is a pain to write setups (Testbed mostly), to test complex streams, and to test templates with it. I end up writing maybe too much e2e tests on Cypress which lead to very slow CI pipelines.
I walk through building this entire app in my paid module on Elite Ionic: eliteionic.com/modules/firebase-tdd/ - this is mostly written content, not video. I will likely also do some more free videos on testing/TDD on the TH-cam channel though - anything in particular you would want to see covered?
@@JoshuaMorony Yeah, basically I haven't found a good resource for TDD on Angular (or Ionic) Unit Testing. You will get bits and pieces of information or just someone going through the Angular testing documentation or Jest documentation etc..., but no one to actually take the time to go through the whole process (like you did in this video) of implementing the tests. What I mean by more in-depth is just to cover the real world tests scenarios of an enterprise app, tests services (maybe rxjs pipelines, ngrx, async code etc...), components, E2E and integration and maybe explain the reasoning of what a good coverage would look like taking into account the return on investment of each piece of code being tested. Again, thanks for doing the video and the great content. I will keep an eye on your videos and will definitely check your course.
not sure if I missed it but your callFirestore method, does it use firestore under the hood or are you simply intercepting the request and stubbing it instead?
Yes you can still do this, it would look basically the same and still achieve most of the benefits - rather than having a specific E2E test for the feature you are working on you would just be thinking the step and jumping right into the integration/unit test portion
Join my mailing list for more exclusive content and access to the archive of my private tips of the week: mobirony.ck.page/4a331b9076
Nice! Great to see your process for E2E and unit testing together. Thanks also for the ongoing Pro updates on Elite Ionic, great stuff!
Amazing Explanation on TDD in Angular. Thanks a lot for sharing !
These are the tutorials the community needs. Every developer should use TDD to write production code and you exaplined it greatly.
I'd be great to have a more in-depth video on jasmine testing, because it really is a pain to write setups (Testbed mostly), to test complex streams, and to test templates with it. I end up writing maybe too much e2e tests on Cypress which lead to very slow CI pipelines.
nice! glad i stumbled upon your channel! thank you & keep up the good work!
This video is awesome Joshua 👏🏻. I would pay for a more in-depth video exactly on this topic. Are you planning to implement a more in-depth video ?
I walk through building this entire app in my paid module on Elite Ionic: eliteionic.com/modules/firebase-tdd/ - this is mostly written content, not video. I will likely also do some more free videos on testing/TDD on the TH-cam channel though - anything in particular you would want to see covered?
@@JoshuaMorony Yeah, basically I haven't found a good resource for TDD on Angular (or Ionic) Unit Testing. You will get bits and pieces of information or just someone going through the Angular testing documentation or Jest documentation etc..., but no one to actually take the time to go through the whole process (like you did in this video) of implementing the tests. What I mean by more in-depth is just to cover the real world tests scenarios of an enterprise app, tests services (maybe rxjs pipelines, ngrx, async code etc...), components, E2E and integration and maybe explain the reasoning of what a good coverage would look like taking into account the return on investment of each piece of code being tested.
Again, thanks for doing the video and the great content. I will keep an eye on your videos and will definitely check your course.
fantastic series!
what a GREAT video. just realized I know VERY little. :D
not sure if I missed it but your callFirestore method, does it use firestore under the hood or are you simply intercepting the request and stubbing it instead?
Very interesting, thank you!
can you actually use TDD only in unit testing so with jasmine karma? Or is it too little?
Yes you can still do this, it would look basically the same and still achieve most of the benefits - rather than having a specific E2E test for the feature you are working on you would just be thinking the step and jumping right into the integration/unit test portion