043 JSJ Sinon.JS

043 JSJ Sinon.JS

PanelChristian Johansen (twitter github blog) Joe Eames (twitter github blog) Merrick Christensen (twitter github) Jamison Dance (twitter github blog)
Discussion
00:45 - Christian JohansenTest-Driven JavaScript Development
Sinon.JS
Gitorious01:26 - Sinon.JS02:22 - Stubs, Mocks and SpiesMocks Aren’t Stubs: Martin Fowler
Mocha10:47 - History of Sinon.JS12:25 - XHR, HML, HTTP13:36 - Mocking the ClockSet Time Out
17:22 - Test-Driven JavaScript DevelopmentAndrea Giammarchi @WebReflection The Pragmatic Bookshelf Screencasts
21:43 - Test FrameworkBuster.JS
js-test-driver24:17 - Other Mocking Librariesmockjax
26:24 - Mocking Properties27:22 - Matchers30:46 - Sinon.JS Gotchas33:10 - State of Test-Driven Development in JavaScriptStrategies for Testing
PicksJack Reacher (Joe) Torchlight II (Joe) Effective JavaScript by David Herman (Merrick) Rdio (Merrick) Adventure Time (Jamison) How to implement an algorithm from a scientific paper: Emmanuel Goossaert (Jamison) Advanced Vim registers (Jamison) Emacs Rocks! (Christian) Simple Made Easy (Christian) LEGO Lord of the Rings (Christian) Testing Clientside JavaScript (Joe)
Transcript
MERRICK: Classy guy.[Hosting and bandwidth provided by the Blue Box Group. Check them out at Bluebox.net.][This episode is sponsored by Component One, makers of Wijmo. If you need stunning UI elements or awesome graphs and charts, then go to Wijmo.com and check them out.]JAMISON: Hello friends. Welcome to JavaScript Jabber. This is Episode number 43. Today, we have Joe Eames.JOE: Howdy!JAMISON: Merrick Christensen.MERRICK: Hey guys!JAMISON: And Christian Johansen. And also me, Jamison Dance. But Christian is the special guest today. Do you want to talk a little bit about yourself? Introduce yourself for those of us that don’t know you?CHRISTIAN: Yeah, sure. First of all, hi! I'm in Oslo, Norway up in the cold north. So, I wrote a book about testing JavaScript a couple of years back called ‘Test-Driven JavaScript Development’. And I've done a few open source libraries. Perhaps the one that most people know about is Sinon.JS. And currently, I work at Gitorious.org. So, that’s the brief introduction about me, I guess.JAMISON: Great! Chuck is gone today. He’s at CES, I believe. So, that’s why I'm filling in for him. I think we want to talk mainly about Sinon.JS today. Do you want to just give an overview of it?CHRISTIAN: Sure.JAMISON: For those who have never heard of Sinon.JS, what is it?CHRISTIAN: Sinon.JS is a stubbing and mocking library which means that when you're writing automated tests for your JavaScript, Sinon provides a tool kit to help you test functions and callbacks and stuff like that, to track how they're being used throughout the system. And then, it also provides some utilities to test asynchronous stuff through timers, like Set Time Out and Set Interval and those kinds of things.And it also has a fake XMLHttpRequest implementation. So, it allows you to test your client side JavaScript completely decoupled from the server and it gives you an API to mimic the role of the server in your tests. So, you can focus a test on how the client side reacts to various kind of behavior from the server.JAMISON: So, you talked about stubbing and mocking. And I think, that means we have to get into the hairy discussion of the difference between stubs and mocks?MERRICK: And spies.JAMISON: And spies, yeah. Do you want to explain that a little bit?CHRISTIAN: Sure. I can explain my take on it because I know there are more than just mine.MERRICK: Sure.CHRISTIAN: I'm using the terminology pretty much like Martin Fowler did and he has a famous article called ‘Spies are Not Mocks’ or something like that. So,Special Guest: Christian Johansen .

Support this podcast at — https://redcircle.com/javascript-jabber/donations

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

Avsnitt(733)

TanStack Router with Tanner Linsley -  JSJ 578

TanStack Router with Tanner Linsley - JSJ 578

Tanner Linsley is the Co-Founder & VP of UI / UX at Nozzle. He joins the show to talk about TanStack Router. TanStack is an Open-source software for building better UI and UX. They talk about the vital role that a "router" plays in the architecture of a web application. Moreover, Tanner shares why he developed his own router and explains the Type safe routing. SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksTanStack Router (beta)SocialstannerlinsleyLinkedIn: Tanner LinsleyTwitter: @tannerlinsleyPicksAJ - PowerEdge R720 rack server detailsCharles - Between Two Castles of Mad King LudwigDan - The Bastard Operator From Hell Dan - Demonstrating democracy in Israel Dan - Ongoing war in UkraineSteve - How John Glenn’s $40 Camera Forced NASA to Rethink Space MissionsTanner - TonalTanner - Metroid Prime™ Remastered for Nintendo SwitchSupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

18 Apr 20231h 18min

Reverse Engineering with Joyce Lin - JSJ 577

Reverse Engineering with Joyce Lin - JSJ 577

Joyce Lin is the Head of Developer Relations at Postman. She returns to the show to discuss Reverse Engineering. They talk about APIs, API security, proxy tools and explain its relevance in your applications. They dive into the process, purpose, and significance of Reverse Engineering. Additionally, they talk about API hacking.Sponsors Chuck's Resume Template Developer Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksPostman | YouTubeSocialsmeowsergirl.comGitHub: loopDeliciousLinkedIn: Joyce LinTwitter: @PetuniaGrayPicksAJ - Phone Strap Grip Holder FingerCharles - The CrewCharles - Battlestar Galactica Charles - Study: 'Dad jokes' help kids develop into healthy adultsDan - War in UkraineDan - Daylight savings Steve - Adult Blond Chick Magnet WigSupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

11 Apr 20231h 16min

How Do You Stop Hating Your Job? - BONUS

How Do You Stop Hating Your Job? - BONUS

Are you dissatisfied with your job? Sam Feeney helps organizations improve employee engagement, increase retention, and reinvent hiring while helping individuals (re)discover career satisfaction in their current roles. He joins the show alongside Chuck Wood to tackle altering the way you perceive your job and talk about Career satisfaction.On YouTubeHow Do You Stop Hating Your Job? - BONUSSocialsLinkedIn: Sam FeeneySupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

11 Apr 202344min

Signals: What You Should Know with Tejas Kumar - JSJ 576

Signals: What You Should Know with Tejas Kumar - JSJ 576

Tejas Kumar is a Chief Developer Advocate. He joins the show alongside AJ and Chuck to talk about Signals. He begins by explaining what "Signals" is. He delves into its advantages, benefits, features, and what it may provide for the applications. He shares his experience in using it. Moreover, they share their perspective on Signals and React Framework. SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipSocialsTwitter: @TejasKumar_YouTube: Tejas KumarPicksAJ - GitHub - callbag/callbag: 👜 A standard for JS callbacks that enablesAJ - GitHub - staltz/callbag-basics: 👜 Tiny and fast reactive/iterable programmingAJ - Talkbacks: A Callback-based Event Spec w/ Travis Barney - Jan 19, 2023AJ - The Legend of Zelda: Breath of the Wild | Deku DealsAJ - Amazon.com: The Ballad of Songbirds and Snakes: A Hunger Games NovelChuck - The Crew: The Quest for Planet NineChuck - Star Trek: Picard (Official Site) Watch on Paramount PlusChuck - Circle: The all-in-one community platform for creators and brandsChuck - Zapier | Automation that moves you forwardTejas - Flightcontrol — AWS Without PainTejas - WorkerConf 2022Tejas - The Last of Us (TV Series 2023Support this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

5 Apr 20231h 23min

The Best of JavaScript and Ruby in 2023 - JSJ 575

The Best of JavaScript and Ruby in 2023 - JSJ 575

Hosts of the Ruby Rogues Podcast, Dave Kimura and Valentino Stoll join JavaScript Jabber Panel on this week's crossover episode. They talk about both of the framework's useful features and how the JavaScript framework may be applied when creating Ruby applications. Additionally, they tackle each of their advantages and disadvantages.On YouTubeThe Best of JavaScript and Ruby in 2023 - JSJ 575Sponsors Chuck's Resume Template Developer Book ClubBecome a Top 1% Dev with a Top End Devs MembershipSocialsTwitter: @thecodenamevTwitter: @kobaltzSupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

28 Mars 20231h 13min

Functional Programming with Ian Schwartz - JSJ 574

Functional Programming with Ian Schwartz - JSJ 574

Ian Schwartz is a professional software developer. He joins the show to talk about Functional Programming. He begins by defining functional programming as well as some of the key terms they use. Additionally, they dive into the different Algebraic Data Types and React.Sponsors Chuck's Resume Template Developer Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksFunctional Wrappers for State ManagementSchwartz.World!GitHub: ianschwartzPicksAJ - Callbags w/ Travis BarneyAJ - No one can explain MonadsAJ - The Lost Metal (Mistborn Era 2)AJ - The Knife of Never Letting Go (Chaos Walking)AJ - The Ballad of Songbirds and Snakes (Hunger Games)Chuck - The Quacks of Quedlinburg: MegaBoxChuck - The Pragmatic ProgrammerChuck - PipelinePRODan - My appearance as a guest on the JavaScript Jam Twitter spaceDan - The ongoing war in UkraineIan - LambdaCast on Apple PodcastsSupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

21 Mars 20231h 21min

Introducing Codux With Nadav Abrahami & Tom Raviv - JSJ 573

Introducing Codux With Nadav Abrahami & Tom Raviv - JSJ 573

Nadav Abrahami Co-Founder & Head of Innovation at Wix. Tom Raviv is Head of Developer Relations for Codux.com & Team Lead on Stylable.io. They join the show to talk about the recent release of, "Codux", the first visual IDE for React. They begin the episode as they talk about how they came about building the tool and their experience. Moreover, they talk about its features, components, and impact on users Sponsors Chuck's Resume Template Developer Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksCodux | Visual IDE for ReactMeet CoduxTwitter: @CoduxIDETwitter: @NadavWixTwitter: @RavivTomPicksAJ - Earthing PadAJ - Speed ControllerAJ - Beyond Code Beta Course WorkshopsDan - 15: The Meta Framework Revolution with Dan Shappir by FedBitesDan - The ongoing war in UkraineNadav - Kung Fu for EngineersSteve - Hinshark Bluetooth BeanieTom - The Legend of Vox MachinaSupport this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

14 Mars 20231h 13min

Build Your Game Using JavaScript with Andrzej Mazur- JSJ 572

Build Your Game Using JavaScript with Andrzej Mazur- JSJ 572

Andrzej Mazur is a HTML5 Game Developer. He joins the show alongside AJ and Chuck to talk about creating games in JavaScript. He begins by outlining his past and current experiences as a game developer. He offers some of his techniques to individuals who want to start developing web games.Sponsors Chuck's Resume Template Developer Book ClubBecome a Top 1% Dev with a Top End Devs MembershipLinksENCLAVE GAMESjs13kGamesGamedev.jsGamedev.js weeklyGamedev.js WarszawaFOREST CUTIESEnclaveGames/Enclave-Phaser-TemplateOpenGameArtUnity Asset StoreKenney Game AssetsGlobal Game Jamwebinstall.dev/aliasmanGitHub: end3rLinkedIn: Andrzej MazurTwitter: @end3rPicksAJ - OC RemixAJ - Ballarini (Granitium Non-Stick Cookware) setAJ - Utility Series Keychain KnifeAJ - EDC Fans Keychain KnifeAndrzej - NeuroshimaHex.plAndrzej - Gamedev.js Jam 2022Andrzej - PhaserChuck - Mysterium Chuck - Hold on to people you care about! Support this podcast at — https://redcircle.com/javascript-jabber/donationsPrivacy & Opt-Out: https://redcircle.com/privacyBecome a supporter of this podcast: https://www.spreaker.com/podcast/javascript-jabber--6102064/support.

7 Mars 20231h 20min

Populärt inom Business & ekonomi

badfluence
framgangspodden
varvet
rss-jossan-nina
uppgang-och-fall
rss-svart-marknad
bathina-en-podcast
rss-borsens-finest
24fragor
lastbilspodden
avanzapodden
affarsvarlden
rss-kort-lang-analyspodden-fran-di
dynastin
fill-or-kill
kapitalet-en-podd-om-ekonomi
svd-tech-brief
borsmorgon
rss-dagen-med-di
rss-inga-dumma-fragor-om-pengar