043 JSJ Sinon.JS
JavaScript Jabber18 Tammi 2013

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.

Jaksot(733)

Why Should You Get Into The Web3 World - JSJ 595

Why Should You Get Into The Web3 World - JSJ 595

Julien Klepatch is the CEO and founder of EatTheBlocks. He joins the show to talk about Web3. He begins by sharing his past experiences and how he became a Software Developer. Additionally, he explains the reasons why developers should get into the Web3 world, its advantages, building web applications with Web3, its connection to Blockchain, and many more!SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksIntroduction to Web3SocialsLinkedIn: Julien KlepatchEatTheBlocksTwitter: @jklepatchPicksAJ - Dash Cryptocurrency Libraries (can work cross-chain)- https://github.com/dashhive/dashphrase.js- https://github.com/dashhive/dashhd.js- https://github.com/dashhive/dashkeys.js- https://github.com/dashhive/dashtx.jsAJ - Harbor FreightAJ - CoffeezillaAJ - Socket SecurityCharles - Skyjo | Board GameCharles - Living Forest | Board GameSupport 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.

22 Elo 20231h 20min

The Evolution of Qwik - JSJ 594

The Evolution of Qwik - JSJ 594

Jack Herrington is a Principal Software Engineer. Misko Hevery is the Chief Technology Officer at Builder.io. They join the show to talk about "Qwik v1.0". Misko takes the lead as he shares its exciting new features. He explains what is the Panda CSS and how it works. Moreover, he dives into some of the "Qwiklabs projects", its benefits, and many more!SponsorsChuck's Resume Template Developer Book Club Become a Top 1% Dev with a Top End Devs MembershipLinksqwikQwiklabsPanda CSSSocialsLinkedIn: Jack HerringtonLinkedIn: Misko HeveryPicksAJ - The Legend of Zelda™Jack - Monkeytype 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.

15 Elo 20231h 19min

Introducing The B2B SaaS Starter Kit - JSJ 593

Introducing The B2B SaaS Starter Kit - JSJ 593

Andrei Soroker is the CEO of Fogbender. Yaroslav Lapin is a Senior Software Engineer at Fogbender. They join the show to talk about the "B2B SaaS Starter Kit". It is an instructional bundle for assembling products designed to be used by teams of users. They begin by explaining the reason why they created it, the problem it solves, its advantages, how it helps the developers and many more! SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksGitHub: B2B SaaS Starter KitB2B SaaS KitFogBenderSocialsTwitter: Yaroslav LapinLinkedIn Yaroslav Lapin Twitter: Andrei SorokerLinkedIn: Andrei SorokerPicksAJ - Are we made of math?AJ - Physics is still in crisisDan - Loki (TV Series 2021Dan - WandaVision (TV Mini Series 2021)Steve - Wix’s new tool can create entire websites from promptsSupport 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.

8 Elo 20231h 26min

The CSS Universe with Austin Gil - JSJ 592

The CSS Universe with Austin Gil - JSJ 592

Austin Gil is a Senior Developer Advocate. He joins the show to talk about CSS-in-JS. He begins by explaining all things CSS, in a way that developers can easily understand it. He discusses the Evolution of CSS, the challenges you may encounter, CSS branches or specificities, and many more!SponsorsChuck's Resume TemplateDeveloper Book Club Become a Top 1% Dev with a Top End Devs MembershipLinksAST ExplorerParticles CSSSocialsAustin GilLinkedIn: Austin GilPicksAustin - $100 linode creditAustin - local meetups to engage with people in your local communityAustin - Panda CSSAustin - Jury DutyDan - Participating in conferences, especially for the "hallway track"Dan - "The Recruit" on Netflix Dan - The Faithful and the Fallen" fantasy book series by John GwynneDan - Ongoing war in UkraineSupport 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.

26 Heinä 20231h 15min

Progressive Enhancement with Elliott Johnson  - JSJ 591

Progressive Enhancement with Elliott Johnson - JSJ 591

Elliott Johnson is a Multi-stack data software generalist and works in Vercel. He joins the show to talk about "Progressive Enhancement". He begins by explaining Svelte & SvelteKit and how it's different from the other frameworks. He goes into more depth about Progressive Enhancement, and how it works. Moreover, he tackles Progressive form enhancement with SvelteKit and many more!SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipSocialsLinkedIn: Elliott JohnsonPicksAJ - StarsightElliot - Spider-Man: Across the Spider-VerseSteve - I'm done with Red Hat (Enterprise Linux)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.

18 Heinä 20231h 1min

Things Coming Down the Pipe From TC39 - JSJ 590

Things Coming Down the Pipe From TC39 - JSJ 590

Dan and Steve join this week's panelist episode to talk about the TC39. Dan starts off as he explains the stages of adding features to the ECMAScript language specification to be added to the JavaScript language.SponsorsChuck's Resume TemplateDeveloper Book Club Become a Top 1% Dev with a Top End Devs MembershipLinksTC39 processTC39 ECMAScript proposalsUpcoming Proposals for ECMAScript (PART 1) - JSJ 532Stage 3: using keywords for automatic resource disposal (objects with lifetime)(Sync) Iterator Helpers intent to shipSet methodsDecorators (for Aspect Oriented Programming for the separation of cross-cutting concerns, e.g. logging and serialization)ShadowRealmsStage 2: Async Iterator HelpersIterator.rangeStage 1: do expressionsSupport 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.

13 Heinä 20231h 17min

Million.js with Aiden Bai and Tobiloba Adedeji  - JSJ 589

Million.js with Aiden Bai and Tobiloba Adedeji - JSJ 589

Aiden Bai is a Web Performance Engineer and Creator of Million.js. Tobiloba Adedeji is a Software Engineer. They join the show to talk about Million.js. They begin by explaining what it is all about, its purpose, the problem it solves, and many more!SponsorsChuck's Resume Template Raygun - Application Monitoring For Web & Mobile AppsBecome a Top 1% Dev with a Top End Devs MembershipLinksMillion.jsSocialsLinkedIn: Tobiloba AdedejiLinkedIn: Aiden BaiTwitter: toby_solutionsPicksAiden - Top End DevsCharles - Shadow Hunters | Board GameCharles - Legendary: A Marvel Deck Building Game (2012)Charles - GitNation EventsSupport 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.

4 Heinä 202353min

How to Build Peer-to-Peer Mobile and Desktop Apps with Socket Supply - JSJ 588

How to Build Peer-to-Peer Mobile and Desktop Apps with Socket Supply - JSJ 588

Kyle Simpson is a Human-Centric Technologist, Author of "You Don't Know JS". He joins the show to talk about "Socket Supply", building "local first" web apps, and what his employer in Socket Supply is doing in this space. They also talk about building native desktop & mobile apps. SponsorsChuck's Resume TemplateDeveloper Book Club Become a Top 1% Dev with a Top End Devs MembershipLinksSocket Supplysocket prerelease demoSocialsKyle SimpsonGitHub: Kyle Simpson LinkedIn: Kyle (getify) Simpson PicksAJ - Tears of the KingdomAJ - LMNT (Citrus)AJ - BNNACharles - Ark Nova | Board GameCharles - I Am Not a Serial Killer (John Cleaver, #1) by Dan WellsCharles - Seven Languages in Seven WeeksDan - "React from Another Dimension" by Dan Abramov at #RemixConf 2023Kyle - Natalie PriceKyle - City of Kyle, Texas - Official WebsiteSupport 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.

27 Kesä 20231h 28min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
psykopodiaa-podcast
rss-rahapodi
mimmit-sijoittaa
ostan-asuntoja-podcast
rss-lahtijat
rss-neuvottelija-sami-miettinen
rss-laakispodi
oppimisen-psykologia
rss-sisalto-kuntoon
lakicast
rss-uskalla-yrittaa
rss-olen-yrittaja
rss-yrita-oikein
rss-bisnesta-bebeja
rss-kaupan-tila
rss-sensuroimaton-kukkonen-kausi-3
rss-seuraava-potilas
rss-paasipodi
rss-yritys-ja-erehdys