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)

JSJ 447: Using Javascript for Data Analysis and Data Science with Daniel Lathrop

JSJ 447: Using Javascript for Data Analysis and Data Science with Daniel Lathrop

Our guest is Daniel Lathrop, a freelance investigative data journalist and educator, and formerly a newspaper reporter and Professor of Journalism and Media informatics at the University of Iowa. On this show, Daniel describes how JavaScript is a great choice for doing data analysis and data science, potentially even more so than other languages which are often used for this purpose, such as Python and R. Daniel also provides information about lots of useful tools and techniques to use in this context.SponsorsThe Complete Software Developer’s Career Guide – Grab a Copy TodayCacheFlyPanelAJ ONealAimee KnightDan ShappirSpecial GuestDaniel LathropLinkshttps://daniel.buzz/PicksAimeeForecasting at ScaleDan Shappirhttps://www.data-forge-notebook.comAJPropaganda in Nazi GermanyDaniel Lathrophttps://www.data-forge-notebook.comhttps://www.claudiajs.comhttps://js4ds.org/Follow JavaScript Jabber on Twitter > @JSJabberSpecial Guest: Daniel Lathrop. 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.

1 Sep 202053min

JSJ 446: Achieving Work-Life Balance, Especially When WFH

JSJ 446: Achieving Work-Life Balance, Especially When WFH

The reality of Covid-19 has changed the way that many people work, working remotely from home instead of coming into the office. Achieving work-life balance can always be a challenge in tech, but can be especially challenging when work and life mix in the same location. In this episode the panel discusses this important topic, and how it has impacted their own lives and careers. Also, how it changes over time and during a career.SponsorsThe Complete Software Developer's Career Guide - Grab a Copy TodayPanelAJ O’NealAimee KnightCharles Max WoodSteve EdwardsDan ShappirLinkshttps://www.figma.comJSJ 431: Personal Branding for Developers with Morad SternGPT3() - The spreadsheet function to rule them all.I built a React dice component with GPT-3PicksSteveHow Does The Internet Work? AJhttps://blerp.comhttps://webinstall.dev/curlieDanWear Maskshttps://github.com/openai/gpt-3 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.

25 Aug 20201h 4min

JSJ 445: Augmented Reality for Mobile Browsers with Connell Gauld

JSJ 445: Augmented Reality for Mobile Browsers with Connell Gauld

Connell has been working on Universal AR, a cross-platform Augmented Reality kit for Mobile Browsers delivering native-level performance using only JavaScript (and a bit of WASM under the hood). We talk about what AR actually is, some of its use cases, as well as the fascinating details as to how the Zap.works team is delivering near native performance and accuracy without IR, LiDAR, or any other of the common advanced AR sensors - just the good ol' phone camera and advanced Computer Visual trickery.SponsorsScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutThe Complete Software Developer's Career Guide - Grab a Copy TodayDo you code in .NET? Check out Adventures in .NETPanelAJ ONealSteve EdwardsSpecial GuestConnell GauldLinksUniversal ARZappar content development toolsPicksSteveLooney TunesAJripgrepConnellDark on NetflixSpecial Guest: Connell Gauld. 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 Aug 202053min

JSJ 444: Coding Front-end JavaScript for Accessibility with Neha Sharma

JSJ 444: Coding Front-end JavaScript for Accessibility with Neha Sharma

In this episode of JavaScript Jabber we interview Neha Sharma about the importance of coding front-end JavaScript with accessibility in mind. She explains practical methods in which to generate accessible UX when using front-end frameworks, such as React and Angular. For example, the importance of generating proper semantic markup, and considering behaviors and responses to user interactions.PanelAJ O’NealAimee KnightDan ShappirGuestNeha SharmaSponsorsScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutThe Complete Software Developer's Career Guide - Grab a Copy TodayReact Native Remote Conf 2020PicksNeha Sharma:Follow Neha on Twitter > @hellonehhaNader Dabit (@dabit3)AJ O’Neal:Microservices ParodyAHA ProgrammingWindows 10: tar, ssh, curl, pwshYellowstonewebinstall.devAimee Knight:Software should be designed to lastDan Shappir:#javascriptriddleFollow JavaScript Jabber on Twitter > @JSJabber Special Guest: Neha Sharma . 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 Aug 202044min

JSJ 443: All About InertiaJS with Jonathan Reinink

JSJ 443: All About InertiaJS with Jonathan Reinink

The panel talks with Jonathan Reinink about his new library, IntertiaJS. InertiaJS is a tool that allows you to create a monolith server rendered site, but where you write your own custom back end, and then use a front end framework like React, Vue, or Svelte. We discuss how Intertia works at a very granular level, how it compares to tools like Next.js and Nuxt, why monoliths are better than using APIs, how Interita handles authentication and form submissions, and much more.PanelAJ O’NealAimee KnightSteve EdwardsGuestJonathan ReininkSponsorsScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutReact Native Remote Conf 2020LinksTurbolinks PicksJonathan Reinink:Follow Jonathan on Twitter > @reinink, WebsiteInertia.js - The Modern MonolithLost in SpaceAimee Knight:Our AWS bill is ~ 2% of revenue. Here's how we did itSteve Edwards:ColonoscopyFollow JavaScript Jabber on Twitter > @JSJabber Special Guest: Jonathan Reinink. 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 Aug 20201h 3min

JSJ 442: Breaking Into Tech with Danny Thompson

JSJ 442: Breaking Into Tech with Danny Thompson

Danny Thompson discusses his road to a successful tech career, after working for years outside the industry (frying chicken at gas-stations). He explains the importance of setting goals and following through, and how to overcome adversity, and handle setbacks. It's simultaneously a very inspirational story, but also filled with lots of very practical advice and action items to pursue. For example, the importance of attending and participating in Meetups and engaging with the local tech community.PanelAJ O’NealAimee KnightCharles Max WoodSteve EdwardsDan ShappirGuestDanny Thompson SponsorsG2i | Enjoy the luxuries of freelancingScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutReact Native Remote Conf 2020LinksAI powered resume builderPicksDanny Thompson:Follow Danny Thompson on Twitter > @DThompsonDevJames Q Quick - YouTubeBrad Traversy - YouTubeFlorin Pop - YouTubeAJ O’Neal:TemplateResumeThis Video Is Sponsored By ███ VPN The Wisdom of the Ancients by Sir Francis Bacon Free AudioBook)Aimee Knight:Amazon Web ServicesEco Performance Bamboo Clothing I Handmade I by TransientCraftCharles Max Wood:The One Funnel Away Challenge!Devchat.tv ConferencesSteve Edwards:xkcd: Wisdom of the AncientsCasablanca (1942) - IMDbDan Shappir:Adopt a puppy or other petFollow JavaScript Jabber on Twitter > @JSJabber Special Guest: Danny Thompson. 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.

28 Juli 20201h 25min

JSJ 441: The Present and Future of JavaScript Bundling and Delivery with Yoav Weiss

JSJ 441: The Present and Future of JavaScript Bundling and Delivery with Yoav Weiss

Yoav Wiess is a Developer Advocate at Google on the Chrome team, and also co-chair of the W3C Performance Working Group. In this episode Yoav explains how JavaScript resources are currently being delivered to browsers, and limitations and downsides with these approaches. He then describes a proposal for an advanced JavaScript delivery method that addresses these limitations. When this proposal is implemented, it will enable much more efficient download of JavaScript into browsers, boosting Web performance. This is a public proposal, and Yoav invites the community to participate in the standardization process.PanelAJ O’NealAimee KnightSteve EdwardsDan ShappirGuestYoav WeissSponsorsScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutReact Native Remote Conf 2020LinksJSJ 434: Understanding and Using ES Modules in Node with Gil TayarPicksYoav Weiss McCumskey:Follow Yoav on Twitter > @yoavweiss Scroll to Text Fragment - Chrome Platform StatusAJ O’Neal:Follow AJ on Twitter > @coolaj86The Beatles: Abbey Road(great dynamic range) (note: the title I meant to use)Deno | webinstall.devDan Shappir:"Inspired by @Apple's #WWDC2020, I quickly built WashOSCharlie Gerard 🏳️‍🌈 (@devdevcharlie) / TwitterThe Beatles: a musical appreciation and analysis by composer, Howard Goodall CBESteve Edvards:Going Full Static - NuxtJSAimee Knight:Teach Yourself Computer ScienceFollow JavaScript Jabber on Twitter > @JSJabber Special Guest: Yoav Weiss. 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.

21 Juli 20201h 15min

JSJ 440: Why Serverless with Gareth McCumskey

JSJ 440: Why Serverless with Gareth McCumskey

Join the 30-DAY CHALLENGE: "You Don't Know JS Yet"Gareth McCumskey, a Solutions Architect in Cape Town, South Africa engages the panelists of JavaScript Jabber in an informative discussion about the broad topic of serverless. The JavaScript expert explains that serverless is essentially a way to use the existing managed services of the cloud in building a solution. He expounded on the different ways in which to employ the use of serverless.PanelAJ O’NealCharles Max WoodSteve EdwardsDan ShappirGuestGareth McCumskey SponsorsScout APM | We'll donate $5 to the open source project of your choice when you deploy ScoutReact Native Remote Conf 2020PicksGareth McCumskey:Follow Gareth on Twitter > @garethmcc Oryx Pro - System76Full-Stack Application Development on AWS (Free Video Course) AJ O’Neal:Follow AJ on Twitter > @coolaj86webinstall.devServiceman | webinstall.devPathman | webinstall.devSteve Edvards:The Black Stallion (1979) - IMDbCharles Max Wood:Devchat.tv Remote ConferencesFollow JavaScript Jabber on Twitter > @JSJabber Special Guest: Gareth McCumskey. 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.

14 Juli 20201h 25min

Populärt inom Business & ekonomi

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