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

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 39

  • @FinanzMinimalist
    @FinanzMinimalist 9 місяців тому +10

    Awesome! This comes to the right time :) Please keep up the great content.

  • @marcogrillo3396
    @marcogrillo3396 6 місяців тому +3

    This is definitely the BEST course on Angular Testing. I also bought your full course.
    Thank you, keep up the good work!

  • @ovuokeaghwotu2389
    @ovuokeaghwotu2389 2 місяці тому

    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.

  • @benchik100
    @benchik100 22 дні тому

    I really like your channel!! English is very clear and pleasant to my ear, the material is served very well!

  • @peter3818
    @peter3818 6 місяців тому

    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!

  • @abhinav2554131
    @abhinav2554131 5 місяців тому

    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  5 місяців тому

      I cover everything about components testing including real project testing in the full course

  • @uaplatformacomua
    @uaplatformacomua 9 місяців тому +2

    It lacks the link to github with this code...

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  9 місяців тому +2

      It's a part of the paid course. You get access to the code under every single video inside a full course

    • @uaplatformacomua
      @uaplatformacomua 9 місяців тому

      @@MonsterlessonsAcademy Oh, I see. Thank you ☺️

  • @uaplatformacomua
    @uaplatformacomua 9 місяців тому

    Awesome course, thank you

  • @ekchills6948
    @ekchills6948 3 місяці тому

    Woww!! I learned so much thank you

  • @DarrellGamble-bi4up
    @DarrellGamble-bi4up 8 місяців тому

    Would this work with Angular 14?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  8 місяців тому +1

      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 8 місяців тому

      You're a great presenter. Keep doing what you do!@@MonsterlessonsAcademy

  • @valerio9851
    @valerio9851 9 місяців тому

    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  9 місяців тому

      Unfortunately I can't help without debugging your code.

    • @ThisLineCrossed
      @ThisLineCrossed 6 місяців тому

      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 2 місяці тому

      same error

  • @mma-dost
    @mma-dost 9 місяців тому +2

    Please upload for react too and next js.

    • @sergeu90
      @sergeu90 9 місяців тому +1

      I want also for react.

    • @mma-dost
      @mma-dost 9 місяців тому

      you too comment maybe he will read yours he havent replied to mine comment

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  9 місяців тому +1

      Thank you. I will add it in the list of ideas for the next course

    • @mma-dost
      @mma-dost 9 місяців тому

      thanks a lot sir @@MonsterlessonsAcademy

  • @sergeu90
    @sergeu90 9 місяців тому

    For react will be useful also

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  9 місяців тому +1

      I will add it to the list of future courses

    • @sergeu90
      @sergeu90 9 місяців тому

      @@MonsterlessonsAcademy a lot of thanks

  • @ngathanh8438
    @ngathanh8438 9 місяців тому

    thanks

  • @ucretsiztakipci6612
    @ucretsiztakipci6612 9 місяців тому

    35:00

  • @ChadiKawaf
    @ChadiKawaf 7 місяців тому

    where is the source code?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  7 місяців тому +1

      As this is a part of the full course you get access to the course code of each video inside the course.