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)

Women on Stage and in Tech with Moran Weber - JSJ 483

Women on Stage and in Tech with Moran Weber - JSJ 483

Moran Weber is the CEO of Women on Stage. She helps women prepare for and speak on stages at conferences in technology and other related areas. She joins the Jabber panel this week to discuss women's place in technology, the importance of them appearing at conferences, and the outcomes of women in the technology space.PanelAimee KnightAJ O'NealCharles Max WoodDan ShappirSteve EdwardsGuestMoran WeberSponsorsDev Influencers AcceleratorLinksMJS 078: Steve Edwards | Devchat.tvMJS 108: Dan Shappir | Devchat.tvViews on Vue: VUE 137: Using Laravel and VueJS in an Enterprise ApplicationCREATE FOLDER RECURSIVELY WITH POWERSHELLTwitter: Moran Weber ( @moranWeber )PicksAimee- Reverse Engineering a Docker Image - The Art of MachineryAJ- Follow Beyond Code Bootcamp: FacebookAJ- Beyond Code Bootcamp - YouTubeAJ- Twitter: Beyond Code Bootcamp ( @_beyondcode )AJ- webinstall.dev/vim-essentialsAJ- Jesus Christ AJ- New TestamentCharles- Dev Influencers | Devchat.tvCharles- Podcast Guest Preparation InstructionsCharles- The Courier (2020)Dan- Music ShowDan- Back/forward cacheMoran- Women tech speakers | Women on StageSteve- Timothy Keller Sermons Podcast by Gospel in LifeSteve- icanhazdadjokeSpecial Guest: Moran Weber . 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.

11 Maj 20211h 19min

Becoming the Go-To Person in Your Technology Area - BONUS

Becoming the Go-To Person in Your Technology Area - BONUS

Chuck was on a strategic call with one of his potential coaching clients talking about cryptocurrencies and realized that this is one of the major reasons that people want to become influencers. Or, rather, that many people aspire to make a difference and/or make money and the best way to do that is to become the person people go to for what you do.So, how do you become the first person people think of when they think of that thing you know how to do? Let Chuck tell you.PanelCharles Max WoodSupport 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 Maj 202116min

Changes in the JAMstack Landscape with Sean C Davis - JSJ 482

Changes in the JAMstack Landscape with Sean C Davis - JSJ 482

Dan kicks the show off by asking our guest Sean C. Davis to define for us what doesn't fall under JAMstack. Sean explains what isn't JAMstack and then dives into what's changed over the last year or so that brings us to the tools and approaches that hybridize the server end of things to bring more server side to the JAMstack.So, JAMstack lifts away from a monolithic backend to provide an independent front-end with a supporting set of back-end tools rather than a back-end with supporting front-end tools. This episodes dives into the implications of this approach as a reaction to the more traditional monolith.PanelAJ O'NealDan ShappirGuestSean C DavisSponsorsDev Influencers AcceleratorRaygun | Click here to get started on your free 14-day trialJavaScript Error and Performance Monitoring | SentryLinksComparing Static Site Generator Build Times | CSS-TricksGrouparoo: Open Source Synchronization  FrameworkUnmute Your Story | UnmutePicksAJ-  Follow Beyond Code | FacebookAJ- Twitter: Beyond Code Bootcamp ( @_beyondcode )AJ- vim-essentials | webinstall.devAJ- StackExchange AJ- Stack Overflow: The Architecture - 2016 EditionAJ- Comparing Static Site Generator Build Times | CSS-TricksAJ- Digital Ocean ($100 or 60 Days Free)Dan- How Wix improved website performance by evolving their infrastructureDan- Who has the fastest F1 website in 2021? Part 1Sean- Free JavaScript ResourcesSean- Ted Lasso Special Guest: Sean C Davis.Sponsored By:Sentry: Resolve JavaScript errors and performance issues with SentryRaygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.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.

4 Maj 20211h 3min

Don't Let These Things Keep You From Podcasting - BONUS

Don't Let These Things Keep You From Podcasting - BONUS

Charles talks about the things that get developers stuck when they're trying to start their podcast or other influencer channel. He explains how to get around having those things hamper your journey.PanelCharles Max WoodSupport 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.

29 Apr 202115min

Data Oriented Programming with Yehonathan Sharvit - JSJ 481

Data Oriented Programming with Yehonathan Sharvit - JSJ 481

Yehonathan Sharvit joins the Jabber crew to discuss Data Oriented Programming. Data Oriented Programming is a way to reduce complexity by managing the shape of the data before we send it over the wire. Rather than managing data you send between services in class hierarchies, you focus on the data's meaning and manipulate it so the data it includes updates to your datastore like Redux and then cascade changes from your data.PanelAimee KnightAJ O'NealCharles Max WoodSteve EdwardsGuestYehonathan SharvitSponsorsDev Influencers AcceleratorJavaScript Error and Performance Monitoring | SentryLinksTwitter: Yehonathan Sharvit ( @viebel )PicksAimee- Zsh Tricks to Blow your MindAJ- UREVO Under Desk TreadmillAJ- 3 Filter Water FilterAJ- AJ ONeal | FacebookAJ- Beyond Code Bootcamp - YouTubeAJ- Twitter: Beyond Code Bootcamp ( @_beyondcode )Charles- Adventures in Machine Learning | Devchat.tvCharles- She's in Tech | Devchat.tvCharles- Dev Influencers AcceleratorCharles- DoctorsYehonathan- GitHub | viebel/klipse Special Guest: Yehonathan Sharvit.Sponsored By:Sentry: Resolve JavaScript errors and performance issues with SentrySupport 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 Apr 20211h

BONUS: Relationships Matter Most

BONUS: Relationships Matter Most

Charles Max Wood talks about how to build, grow, and benefit from positive relationships within programming. He talks about how he's built genuine positive relationships with hundreds of programmers and how he and others have grown from those relationships. He also explains that you get out of relationships what you put into them. Finally, he goes into how to begin to build relationships by building a system of influence you can use on behalf of the people you want relationships with.PanelCharles Max WoodSupport 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.

23 Apr 202119min

JSJ 480: Are Micro Frontends worth the effort? (And if so when?)

JSJ 480: Are Micro Frontends worth the effort? (And if so when?)

Micro frontends are the topic of discussion again, this time with Grgur Grisogono, Principal Consultant at Modus Create and co-author of the Manning book "Ext JS in Action". In particular, Grgur explains the new module federation capabilities introduced by Webpack, and describes how they can be used to construct micro frontends in a much more streamlined and modular fashion.PanelAJ O'NealCharles Max WoodDan ShappirSteve EdwardsGuestGrgur GrisogonoSponsorsDev Influencers AcceleratorRaygun | Click here to get started on your free 14-day trial JavaScript Error and Performance Monitoring | SentryLinksModule Federation | webpackTwitter: Grgur Grisogono ( @ggrgur )PicksAJ- Jim Kwik 10 Morning HabitsAJ- Wayne Brady's Comedy IQAJ- Beyond Code GmbH | FacebookAJ- Beyond Code Bootcamp | YouTubeAJ- Twitter: Beyond Code Bootcamp ( @_beyondcode )AJ- Digital Ocean (2 Months or $100 Free)Charles- The 12 Week Year by Brian P. Moran and Michael Lennington Charles- TrainingPeaks | Hit Your StrideCharles- Phil's Beginner Marathon Plan ( 4-6hrs/wk )Charles- ClickUpDan- Smash BurgerDan- #JavaScriptRiddle | TwitterGrgur- YeastGrgur- Modus CreateGrgur- Modus Create, Inc. | YouTubeSteve- Intagram: ( pun_bible )Steve- Instagram: ( standup.trex )Special Guest: Grgur Grisogono.Sponsored By:Sentry: Resolve JavaScript errors and performance issues with SentryRaygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.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.

20 Apr 20211h 14min

BONUS: How Opportunities Come Your Way When You're an Influencer

BONUS: How Opportunities Come Your Way When You're an Influencer

Charles Max Wood discusses several opportunities that came his way early in his podcasting career and other opportunities that have come to other people after only a couple of podcast episodes. He explains why that happens and how you can use this to create more influence as a developer.PanelCharles Max WoodSupport 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.

16 Apr 202120min

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
svd-tech-brief
avanzapodden
dynastin
rss-kort-lang-analyspodden-fran-di
fill-or-kill
affarsvarlden
rss-dagen-med-di
borsmorgon
kapitalet-en-podd-om-ekonomi
tabberaset