JS for Testers | Part 9: JS Test Framework (Mocha) & Assertion Library (Chai)

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ค. 2024
  • ▬▬▬▬▬▬ P L A Y W R I G H T F U L L C O U R S E ▬▬▬▬▬▬
    Udemy ► bit.ly/38B9Enu
    Discount Code ► CBE4DEE43B40DE3991EE
    ▬▬▬▬▬▬ In this Video ▶️ ▬▬▬▬▬▬
    Learn the best of breed JavaScript test framework: Mocha and Assertion Library: Chai
    ▬▬▬▬▬▬ Timestamps ⏰ ▬▬▬▬▬▬
    00:00 - Intro
    03:00 - Mocha
    05:13 - Chai
    10:04 - Inclusive tests (.skip)
    10:53 - Exclusive tests (.only)
    11:46 - Mocha Hooks
    13:22 - Mocha Reporters
    ▬▬▬▬▬▬ Useful Links 🛠 ▬▬▬▬▬▬
    Chai BDD style assertions ► www.chaijs.com/api/bdd/
    ▬▬▬▬▬▬ TH-cam Playlists 🚀 ▬▬▬▬▬▬
    Cypress ► bit.ly/3peC37y
    Playwright ► bit.ly/3qfmduZ
    JavaScript For Testers ► bit.ly/2Z9M0st
    Tester's Toolkit ► bit.ly/3adoxNx
    ▬▬▬▬▬▬ Connect with me 👋 ▬▬▬▬▬▬
    Don't forget to subscribe ► bit.ly/3aZkYcK
    DEV ► dev.to/bushraalam
    GITHUB ► github.com/bushralam
    TWITTER ► / imbushraalam
    LINKEDIN ► / bushralam
    #JSforTesters #JavaScript

ความคิดเห็น • 21

  • @naveenbv1838
    @naveenbv1838 4 ปีที่แล้ว +2

    Appreciate your hardwork in explaining the great content in simple words 👍 Thanks a lot for sharing 🙏

  • @chetanyeshi2296
    @chetanyeshi2296 4 ปีที่แล้ว +1

    Awesome Explanation. Much Appreciated !!!

  • @rkworld9354
    @rkworld9354 2 ปีที่แล้ว

    Very well explained in a simple manner. Thank you.

  • @crichim9645
    @crichim9645 2 ปีที่แล้ว

    Absolutely brilliant explanation ...! 👏👏👏

  • @hmilroy
    @hmilroy 3 ปีที่แล้ว

    You are awesome. Thanks a lot.

  • @Smritikatyal
    @Smritikatyal 3 ปีที่แล้ว

    Nice series. Subscribed to channel

  • @kanehenry7258
    @kanehenry7258 9 หลายเดือนก่อน

    these videos are great

  • @learners3802
    @learners3802 2 ปีที่แล้ว

    awsome context

  • @jyotichetry08
    @jyotichetry08 8 หลายเดือนก่อน

    great

  • @andygr1n1
    @andygr1n1 3 ปีที่แล้ว

    only one is missing here, as I think, is adding mochawesome at the very end of this instruction. why not! :)
    anyway, big thanks for the tutorial.

  • @sureshkanaparthi9905
    @sureshkanaparthi9905 4 ปีที่แล้ว

    It would be great ,If you prepare more videos on Cypress & JS , Because your explanation was good.Appreciated content too.

    • @QACamp
      @QACamp  4 ปีที่แล้ว

      Hi Suresh :)
      Thank you.. and I have just added a new video 'Cypress - Page Object Model': th-cam.com/video/5ODb5eQTB44/w-d-xo.html
      I will be adding more to JS playlist as well.

  • @youtubebony4485
    @youtubebony4485 3 ปีที่แล้ว

    6:14 Require

  • @sahilkakkar7386
    @sahilkakkar7386 4 ปีที่แล้ว +1

    Very well explained. Can you also make video on promises ? Thanks!

  • @akashdeep6355
    @akashdeep6355 2 ปีที่แล้ว

    Thanks for tutorial, what if I add a function library in test folder (like test/funcLib.js, this holds few common functions but no test), will that get executed too?

  • @kvk2530
    @kvk2530 6 หลายเดือนก่อน

    when i do npx run I get an error

  • @mudilishivakumar2712
    @mudilishivakumar2712 2 ปีที่แล้ว

    While running mocha no test files found

  • @boyapatiramakrishna2068
    @boyapatiramakrishna2068 2 ปีที่แล้ว

    Sister, everyone is telling how to run test cases from terminal. Why you are not explaining how to run test cases from html page with a click of a button? As you know we use this mocha to automation also. If we develop any automation and give it to any end user, how can he run it from the terminal? Please understand why you people are not telling how to run it from html page with click of a button??