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)

Typing Without Transpilation - The Beauty of JSDoc - JSJ 489

Typing Without Transpilation - The Beauty of JSDoc - JSJ 489

Long time friend of the show Gil Tayar joins us again this time to discussing using JSDoc for JavaScript type annotations instead of TypeScript. Turns out that you can now get all of the benefits of TypeScript types without having to adopt the entire TypeScript workflow. Gil describes the benefits of this approach, and how it could impact the future of Web development.PanelAimee KnightCharles Max WoodDan ShappirSteve EdwardsGuestGil TayarSponsorsJavaScript Error and Performance Monitoring | SentryDigitalOceanDev Influencers AcceleratorLinksUse JSDocs: IndexJSDoc - WIkipediaJSDoc typings: all the benefits of TypeScript, with none of the drawbacksJSJ 441: The Present and Future of JavaScript Bundling and Delivery with Yoav Weiss | Devchat.tvTwitter: Gil Tayar ( @giltayar )PicksCharles- Ruby Rogues | Devchat.tvCharles- Built BarsCharles- Back MarketDan- Progress Delayed Is Progress Denied - Infrequently NotedGil- Daring FireballGil- Stratechery by Ben ThompsonSteve- Why You’re Christian - David PerellSteve- My Favorite One Liners | MuhammadContact Aimee:Aimee Knight – Software Architect, and International Keynote SpeakerGitHub: Aimee Knight ( AimeeKnight )Twitter: Aimee Knight ( @Aimee_Knight )LinkedIn: Aimee K.aimeemarieknight | InstagramAimee Knight | FacebookContact Charles:Devchat.tvDevChat.tv | FacebookTwitter: DevChat.tv ( @devchattv )Contact Dan:GitHub: Dan Shappir ( DanShappir )LinkedIn: Dan ShappirTwitter: Dan Shappir ( @DanShappir )Contact Steve:Twitter: Steve Edwards ( @wonder95 )GitHub: Steve Edwards ( wonder95 )LinkedIn: Steve EdwardsSpecial Guest: Gil Tayar.Sponsored By:Sentry: Resolve JavaScript errors and performance issues with SentryDigitalOcean: Get started on DigitalOcean App Platform with $100 in free credit at do.co/jabber.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.

22 Kesä 20211h 16min

The React Way & Opinionated Practices with Ian Schwartz - JSJ 488

The React Way & Opinionated Practices with Ian Schwartz - JSJ 488

Never underestimate the power of teaching. Ian reached out to AJ in regards to previous comments about React on the show and demonstrated that he knows a whole lot more than most of us, so we had him on to talk about his learning journey, the philosophy of react, and top tips for new developers entering the field. Huzzah!PanelAJ O'NealCharles Max WoodSteve EdwardsGuestIan SchwartzSponsorsDev Influencers AcceleratorRaygun | Click here to get started on your free 14-day trial LinksContext - ReactuseEncapsulation | Kyle ShevlinIntroduction - EnzymeBefore You memo() - Overreacted118: Jenn Creighton on Composition and Architecture10 Morning Habits | Jim Kwik - YouTubeCouch to 5K – The Complete 5K Beginner Training PlanSchwartz.WorldPicksAJ- Context - ReactAJ- 118: Jenn Creighton on Composition and ArchitectureAJ- Introduction - EnzymeAJ- Before You memo() - OverreactedAJ- Security #RIIRAJ- webinstall.dev/vim-essentialsCharles- Changes at BasecampCharles- Monday.comIan- Preact CLIIan- Sleep ApneaContact AJ:AJ ONealCoolAJ86 on GITBeyond Code BootcampBeyond Code Bootcamp | GitHubFollow Beyond Code Bootcamp | FacebookTwitter: Beyond Code Bootcamp ( @_beyondcode )Contact Charles:Devchat.tvDevChat.tv | FacebookTwitter: DevChat.tv ( @devchattv )Contact Steve:Twitter: Steve Edwards ( @wonder95 )GitHub: Steve Edwards ( wonder95 )LinkedIn: Steve EdwardsSpecial Guest: Ian Schwartz.Sponsored By:Raygun: 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.

15 Kesä 20211h 20min

Node in the Browser and Much more: Web Containers with Eric Simons - JSJ 487

Node in the Browser and Much more: Web Containers with Eric Simons - JSJ 487

Eric Simons from Stackblitz joins the JSJ panel to discuss the game changing technology announced at Google.io this year. What they demonstrated was their ability to run NodeJS in the browser using new technology called Web Containers. However, the implications go well beyond the realities of running Node in the browser. Eric and the panel dive into the implications of what this new way of working could mean for the web and application development.PanelAimee KnightAJ O'NealCharles Max WoodDan ShappirSteve EdwardsGuestEric SimonsSponsorsJavaScript Error and Performance Monitoring | SentryDigitalOceanDev Influencers AcceleratorLinksHow do I manually turn off/on voice guidance on my Jabra Evolve 75?JSJ 450: Native Features Inside The Browser – Introducing Google’s Project Fugu with Thomas Steiner | Devchat.tvJSJ 280: Stackblitz with Eric Simons and Albert Pai | Devchat.tvHow to publish N-API package | Node.jsIntroducing WebContainers: Run Node.js natively in your browserStackBlitzEricSimons - StackBlitzTwitter: Eric Simons ( @ericsimons40 )PicksAimee- GitHub | jtpio/jupyterliteAJ- WASM, Rust, the State of Async/Await - Utah Rust Nov 2020AJ- A 'Worst Nightmare' Cyberattack: The Untold Story Of The SolarWinds HackAJ- GitHub | dbohdan/classless-cssAJ- GitHub | therootcompany/tz.jsAJ- GitHub | therootcompany/async-routerCharles- DevOps 062: Behind the SolarWinds breach | Devchat.tvCharles- Ancestry®Charles- FamilySearchCharles- Learn your heritageCharles- Learn your country’s heritageDan- Why Hamas Keeps Fighting, and LosingDan- Jupiter's LegacyEric- Next.js ConfSteve- Tyrannosaurus on InstagramContact Aimee:Aimee Knight – Software Architect, and International Keynote SpeakerGitHub: Aimee Knight ( AimeeKnight )Twitter: Aimee Knight ( @Aimee_Knight )LinkedIn: Aimee K.aimeemarieknight | InstagramAimee Knight | FacebookContact AJ:AJ ONealCoolAJ86 on GITBeyond Code BootcampBeyond Code Bootcamp | GitHubFollow Beyond Code Bootcamp | FacebookTwitter: Beyond Code Bootcamp ( @_beyondcode )Contact Charles:Devchat.tvDevChat.tv | FacebookTwitter: DevChat.tv ( @devchattv )Contact Dan:GitHub: Dan Shappir ( DanShappir )LinkedIn: Dan ShappirTwitter: Dan Shappir ( @DanShappir )Contact Steve:Twitter: Steve Edwards ( @wonder95 )GitHub: Steve Edwards ( wonder95 )LinkedIn: Steve EdwardsSpecial Guest: Eric Simons .Sponsored By:Sentry: Resolve JavaScript errors and performance issues with SentryDigitalOcean: Get started on DigitalOcean App Platform with $100 in free credit at do.co/jabber.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.

8 Kesä 20211h 18min

The 3 Essentials for Successful Job Outcomes - BONUS

The 3 Essentials for Successful Job Outcomes - BONUS

Chuck dives into the 3 essentials for getting the next successful outcome you want in your career. Whether that's something simple like a raise or something more complex like going freelance, you can achieve it by working on 3 main areas.First, building skills. The most obvious type of skills you'll need is technical skills. However, don't neglect your people skills and your organizational skills as well since you're often paid for how you work with people and enhance their work and how you put your work together in the most efficient ways.Second, building relationships. Often other people will be able to help you find the opportunities or will be the ones to make the decisions that impact your ability to get the outcome you want. Having good relationships is key to having good outcomes.Third, building recognition. Being known for being valuable in important ways allows you to leverage the skills you have to build better relationships and create opportunities to get what you need to get the outcomes you want by giving people what they want. A podcast is a great way to do all three. Chuck explains exactly how that works in this podcast and goes deeper as part of the Dev Influencers Accelerator.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.

4 Kesä 202135min

CrUX and Core Web Vitals - What to Measure on the Web with Rick Viscomi - JSJ 486

CrUX and Core Web Vitals - What to Measure on the Web with Rick Viscomi - JSJ 486

Rick Viscomi joins us from Google to talk to us about the Chrome User Experience Report (CrUX) and the HTTP Archive. He explains what it tells us about how the web is built, how it performs, and what we know about the web today.PanelAimee KnightAJ O'NealDan ShappirSteve EdwardsGuestRick ViscomiSponsorsDev Influencers AcceleratorRaygun | Click here to get started on your free 14-day trial LinksJSJ 334: “Web Performance API” with Dan Shappir | Devchat.tvJSJ 428: The Alphabet Soup of Performance Measurements | Devchat.tvIs my host fast yet?Twitter: Rick Viscomi ( @rick_viscomi )PicksAimee- SparkPostAimee- BigQuery: Qwik Start - ConsoleAJ- SendGridAJ- Tuscan Dairy Whole Vitamin D MilkAJ- The Twelve-Factor AppAJ- webinstall.dev/fzfDan- Great TVDan- Keep daylight savings time all year roundRick- Vsauce - YouTubeRick- Uranium Ore Steve- The State of CSS SurveySteve- GitHub | State of JS 2020 QuestionsContact Aimee:Aimee Knight – Software Architect, and International Keynote SpeakerGitHub: Aimee Knight ( AimeeKnight )Twitter: Aimee Knight ( @Aimee_Knight )LinkedIn: Aimee K.aimeemarieknight | InstagramAimee Knight | FacebookContact AJ:AJ ONealCoolAJ86 on GITBeyond Code BootcampBeyond Code Bootcamp | GitHubFollow Beyond Code Bootcamp | FacebookTwitter: Beyond Code Bootcamp ( @_beyondcode )Contact Dan:GitHub: Dan Shappir ( DanShappir )LinkedIn: Dan ShappirTwitter: Dan Shappir ( @DanShappir )Contact Steve:Twitter: Steve Edwards ( @wonder95 )GitHub: Steve Edwards ( wonder95 )LinkedIn: Steve EdwardsSpecial Guest: Rick Viscomi.Sponsored By:Raygun: 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.

1 Kesä 20211h 9min

How to Get Hired at a FANG Company - BONUS

How to Get Hired at a FANG Company - BONUS

Chuck explains what he taught Nathan last week when we asked how to get hired at a FANG (Facebook Apple/Amazon Netflix Google) company. Essentially, it boils down to how to build the skills and knowledge needed to pass the interview. How to build the relationships to get into the door and have the interviewer want you to succeed. And how to build the reputation that has the company wanting you regardless of the outcome. This approach also works for speaking at conferences, selling courses, and other outcomes as well as it's the core of building a successful career as an influencer.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.

28 Touko 202122min

Things JavaScript Developers Should Know, Part 2 - JSJ 485

Things JavaScript Developers Should Know, Part 2 - JSJ 485

Dan Shappir leads the Jabber crew on another discussion on the things JavaScript developers should know.They discuss WeakMap, WeakSets, and WeakReferences. They dive into where and how they are used and which places they're implemented.The conversation starts with garbage collection is and how it works and then moves into the implications it has for this kind of referencings.PanelAimee KnightAJ O'NealCharles Max WoodDan ShappirSteve EdwardsSponsorsDev Influencers AcceleratorJavaScript Error and Performance Monitoring | SentryLinksWeakMap - JavaScriptWeak references and finalizersPicksAimee- How to Read Books When You Have ADHDAJ- Elemental: War of Magic | War StoriesAJ- Ars Technica: War Stories Season 1AJ- Super Guitar BrosAJ- CREATE FOLDER RECURSIVELY WITH POWERSHELLCharles- Having terrific people in your lifeCharles- Monday.comCharles- The Common Path to Uncommon SuccessDan- Israelis no longer need to wear masksDan- Google introduced a new featureSteve- DoesTheDogDie.comContact Aimee:Aimee Knight - Software Architect, and International Keynote SpeakerGitHub: Aimee Knight ( AimeeKnight )Twitter: Aimee Knight ( @Aimee_Knight )LinkedIn: Aimee K.aimeemarieknight | InstagramAimee Knight | FacebookContact AJ:AJ ONealCoolAJ86 on GITBeyond Code BootcampBeyond Code Bootcamp | GitHubFollow Beyond Code Bootcamp | Facebook Twitter: Beyond Code Bootcamp ( @_beyondcode )Contact Dan:GitHub: Dan Shappir ( DanShappir )LinkedIn: Dan ShappirTwitter: Dan Shappir ( @DanShappir )Contact Charles:Devchat.tvDevChat.tv | FacebookTwitter: DevChat.tv ( @devchattv )Contact Steve:Twitter: Steve Edwards ( @wonder95 )GitHub: Steve Edwards ( wonder95 )LinkedIn: Steve EdwardsSponsored 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.

25 Touko 20211h 16min

Data Wrangling in JavaScript with Ashley Davis - JSJ 484

Data Wrangling in JavaScript with Ashley Davis - JSJ 484

Ashley Davis jumps in to talk to Dan Shappir about wrangling data using JavaScript.Ashley describes his journey into JavaScript and his exposure to the web platform. From there he walks Dan through learning data science and building systems in Python before coming back to JavaScript.He talks through the tools and techniques used to manage data in JavaScript as well as how it can be done!PanelDan ShappirGuestAshley DavisSponsorsDev Influencers AcceleratorRaygun | Click here to get started on your free 14-day trial LinksData Wrangling with JavaScriptData-ForgeProject JupyterCharlie Gerard on TwitterBootstrapping Microservices with Docker, Kubernetes, and Terraform Code CapersData-Forge NotebookJSJ 442: Breaking Into Tech with Danny Thompson | Devchat.tvTwitter: Ashley Davis ( @ashleydavis75 )PicksAshley- AshleyDavis- TwitchDan- Interlude: Rethinking the JavaScript Pipeline OperatorContact Dan:GitHub: Dan Shappir ( DanShappir )LinkedIn: Dan ShappirTwitter: Dan Shappir ( @DanShappir )Special Guest: Ashley Davis.Sponsored By:Raygun: 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.

18 Touko 20211h 7min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
psykopodiaa-podcast
rss-rahapodi
mimmit-sijoittaa
ostan-asuntoja-podcast
rss-lahtijat
lakicast
rss-laakispodi
rss-bisnesta-bebeja
rss-neuvottelija-sami-miettinen
oppimisen-psykologia
ylos-ja-yrita
rss-yrita-oikein
rss-myynti-ei-ole-kirosana
rss-kaupan-tila
rss-20-30-40-podcast
rss-sisalto-kuntoon
rss-paasipodi
rss-yrittajan-mindset
rss-yritys-ja-erehdys