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)

Preventing Fraud on Your Payment Website - JSJ 534

Preventing Fraud on Your Payment Website - JSJ 534

Today we talk with Paul Asjes, a developer advocate at Stripe.  We get some insight into creating a more secure site for credit card transactions.  We also discuss card testing, or account stealing, techniques that are used to gain access to active credits cards.  This topic is very important because it can have big financial consequences, and if serious enough, could cause a business to close.  Paul gives us some techniques and strategies to discourage and prevent this activity. SponsorsTop End DevsCoaching | Top End DevsLinksStripeStripe Developers - DiscordStripe Developers - YouTubeLinkedIn - Paul Asjes Twitter: @paul_asjesPicksAJ - The Black PrismAJ - The unnamed city that I now live inCharles -Machi KoroPaul - Stripe SessionsPaul- TakecarebnbSteve - How to Freaking Find Great Developers By Having Them Read CodeSteve - Dad JokesSupport 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.

31 Touko 202254min

TC39 and Upcoming Proposals for ECMAScript (PART 2) - JSJ 533

TC39 and Upcoming Proposals for ECMAScript (PART 2) - JSJ 533

Today we chat with Thomas Randolph from GitLab, to discuss his Top 10 list of the upcoming TC39 proposals. The list…Temporal ProposalImport AssertionsJSON ModulesBuilt-In ModulesObservable ProposalPartial ApplicationUUIDPipeline OperatorModule BlocksEmitter Proposal +1 Records and Tuples +2 Reverse and Sort Methods on ArraysSponsorsTop End DevsCoaching | Top End DevsLinksTwitter: Thomas Randolph ( @rockerest )JSJ 425: The Evolution of JavaScriptTemporalimport assertionsJSON modulesThe TC39 ProcessObservablePartial Application for ECMAScriptES pipe operator (2021)JavaScript Module BlocksRecord & TupleECMAScript proposal "Change Array by copy": four new non-destructive Array methodsGitHub: tc39/proposalsJavaScript Jabber 19 April 2022Thomas O. RandolphPicksCharles - The Last BattleCharles - GamePigeonDan - Star Trek: PicardDan - 103 Early HintsDan - War in UkraineSteve - Dad JokesSteve - Rescinded mask mandates for travelThomas - My notes to this episodeThomas - The Design of Everyday Things by Don NormanThomas - What is Reactive Programming by Kevin WebberThomas - War in UkraineSpecial Guest: Thomas Randolph.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsTop End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

24 Touko 20221h 1min

TC39 and Upcoming Proposals for ECMAScript (PART 1) - JSJ 532

TC39 and Upcoming Proposals for ECMAScript (PART 1) - JSJ 532

Today we chat with Thomas Randolph from GitLab, to discuss his Top 10 list of the upcoming TC39 proposals. The list…Temporal ProposalImport AssertionsJSON ModulesBuilt-In ModulesObservable ProposalPartial ApplicationUUIDPipeline OperatorModule BlocksEmitter Proposal +1 Records and Tuples +2 Reverse and Sort Methods on ArraysSponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksTwitter: Thomas Randolph ( @rockerest )JSJ 425: The Evolution of JavaScriptTemporalimport assertionsJSON modulesThe TC39 ProcessObservablePartial Application for ECMAScriptES pipe operator (2021)JavaScript Module BlocksRecord & TupleECMAScript proposal "Change Array by copy": four new non-destructive Array methodsGitHub: tc39/proposalsJavaScript Jabber 19 April 2022Thomas O. RandolphPicksCharles - The Last BattleCharles - GamePigeonDan - Star Trek: PicardDan - 103 Early HintsDan - War in UkraineSteve - Dad JokesSteve - Rescinded mask mandates for travelThomas - My notes to this episodeThomas - The Design of Everyday Things by Don NormanThomas - What is Reactive Programming by Kevin WebberThomas - War in UkraineSpecial Guest: Thomas Randolph.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsRaygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.Top End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

17 Touko 20221h 6min

Using Storybook and Nuxt To Quickly Build Websites - JSJ 531

Using Storybook and Nuxt To Quickly Build Websites - JSJ 531

Steve, AJ, and Dan talk to Drew Baker, co-founder of Los Angeles based digital agency Funkhaus about Storybook and Nuxt. After a discussion of various server side rendering methods, Drew talks about how they use Storybook, how it integrates tightly with Nuxt, and how it helps Funkhaus quickly and cleanly spin up sites for large customers.SponsorsTop End DevsCoaching | Top End DevsLinksFunkhausUI / Badges / Funkhaus - DefaultSongs from ScratchAI FoundationPicksAJ - The Lost MedalAJ - Raven DB - Happy Path PerformanceAJ - Creeds of CraftsmanshipAJ - Weight triggered coffee/tea warmerAJ - The Portal ElementFollow CoolAJ86 Live Streams: YouTube: https://youtube.com/coolaj86Twitch: https://twitch.tv/coolaj86Follow Beyond Code: YouTube: https://www.youtube.com/channel/UC2KJHARTj6KRpKzLU1sVxBATwitter: https://twitter.com/@_beyondcodeDan - War in UkraineDan - Terrorist Attack in Tel AvivDrew - Max Howl’s teaSteve - ViteSteve - How to Migrate from Vue CLI to ViteSteve - Dad JokesSpecial Guest: Drew Baker.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsTop End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

10 Touko 202216min

NoSQL and RavenDB - JSJ 530

NoSQL and RavenDB - JSJ 530

Today we talk with Dejan Miličić, a consultant with more than 20 years of experience as a professional software developer with RavenDB. His areas of expertise are designing, writing, and maintaining applications, with a focus on software architecture and backend development.Dejan discusses the challenges and benefits of NoSQL databases, and what he has learned along the way to simplify and reduce the time required to make changes. We also talk about ways to approach different types of NoSQL databases, and how they should be used. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksNoSQL Database | RavenDB ACID NoSQL Document DatabaseKaggle: Your Machine Learning and Data Science CommunityTweets by @6figuredevPicksAJ- Ethan Garofolo on YouTubeAJ - Microservices on YouTubeAJ - I Have Delivered Value… But At What Cost?AJ - Brandon SandersonChuck - ScytheChuck - Upcoming Converences: JavaScript Summit in July, DHH Coming for Rails in August, Angular React Vue Etc in Fall/WinterChuck - YellowstoneDejan - IdrisSteve - Low Earth Orbit VisualizationSteve - Utah - Arches, Canyonlands, Lake Powell, Bryce Canyon, Monument ValleySpecial Guest: Dejan Milicic.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsRaygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.Top End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

3 Touko 20221h 19min

Blockchain with Max Kordek - JSJ 529

Blockchain with Max Kordek - JSJ 529

In this episode, we talk with Max Kordek of Lisk, a leading expert on Blockchain. You’ll learn about what a Blockchain is, how it works, and the benefits of using it. There is also discussion on the opportunities that blockchain presents for the JavaScript developer.How does blockchain work as a decentralized ledger accessed across the world? We discuss how it operates without a central authority - everyone who participates in the network has the financial incentive that no one lies. This creates data that is secure and has integrity. Everything runs on a neutral protocol - no one can manipulate it. No interference from a third party.What is best suited for blockchain? With real-world examples, we discuss what major industries currently benefit - and where there is potential. Blockchain software development kits are available for developers to discover what blockchain can be used for. Logics and Libraries available to the large world of JS developers. Don't forget the lisk.js event this summer, and make sure to visit @maxkordek on Twitter at https://twitter.com/MaxKordek.SponsorsTop End DevsCoaching | Top End DevsLinksTwitter: Max Kordek ( @maxkordek )Twitter: Lisk ( @LiskHQ )lisk.chat on DiscordPicksAJ- Web3 Is Going Just GreatAJ- The Great Blockchain DebateAJ - The Line Goes Up DocumentaryAJ - How the Crypto Story EndsAJ- Creeds of CraftsmanshipFollow CoolAJ86 Live Streams: YouTube: https://youtube.com/coolaj86Twitch: https://twitch.tv/coolaj86Follow Beyond Code: YouTube: https://www.youtube.com/channel/UC2KJHARTj6KRpKzLU1sVxBATwitter: https://twitter.com/@_beyondcodeCharles- Pandemic Legacy Season Zero on AmazonCharles- BoardGameGeekCharles- Beyond Code BootcampCharles - Top End Devs Summit in JuneCharles - JS Remote Conference in JulyCharles- Rails 7 - Q & A in August *Charles- Rails 7 - Q & A in AugustCharles- PodioMax- Bitcoin 2022 Crypto ConferenceSpecial Guest: Max Kordek.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsTop End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

26 Huhti 20221h 5min

SolidJS with Ryan Carniato - JSJ 528

SolidJS with Ryan Carniato - JSJ 528

SolidJS is a web development framework that focuses on using reactivity and carries forward several ideas from Knockout.js.https://javascriptjabber.com/13Ryan Carniato, the creator of SolidJS breaks down the history and ideas behind SolidJS and compares it to React and other frameworks.SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsPicksAJ- Creeds of CraftsmanshipFollow CoolAJ86 Live Streams: YouTube: https://youtube.com/coolaj86Twitch: https://twitch.tv/coolaj86Follow Beyond Code: YouTube: https://www.youtube.com/channel/UC2KJHARTj6KRpKzLU1sVxBATwitter: https://twitter.com/@_beyondcodeCharles- Dice Forge | Board Game | BoardGameGeekCharles- BoardGameGeekCharles- Conferences | Top End DevsRyan- Corset - Declarative reactive UI without the complexity of SPAsSteve- Twitter: Dad Jokes ( @Dadsaysjokes )Special Guest: Ryan Carniato.Sponsored By:Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsRaygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.Top End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

19 Huhti 202253min

What's New with Elm? ft. Lindsay Wardell - JSJ 527

What's New with Elm? ft. Lindsay Wardell - JSJ 527

Elm is a functional language that compiles to JavaScript and runs in the browser. Lindsay Wardell from NoRedInk joins the JavaScript Jabber panel this week to discuss her background with Vue and Elm. The discussion ranges into how Lindsay got into Elm and how it differs and solves some of the issues that crop up when people build apps with JavaScript.SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinkselm-vue-bridgeGitHub - lindsaykwardell/vite-elm-templateUtilizing Elm in a Web WorkerSetting up an Elm project in 2022Lindsay WardellPicksAJ- GitHub: coolaj86/AJScriptAJ- SlonikFollow CoolAJ86 Live Streams: YouTube: https://youtube.com/coolaj86Twitch: https://twitch.tv/coolaj86Follow Beyond Code: YouTube: https://www.youtube.com/channel/UC2KJHARTj6KRpKzLU1sVxBATwitter: https://twitter.com/@_beyondcodeCharles- Taco Cat Goat Cheese PizzaDan- UprootedDan- Support UkraineLindsay- Elm Radio PodcastLindsay- Why Isn't Functional Programming the Norm? – Richard FeldmanLindsay- A Taste of Roc — Richard FeldmanSteve- Twitter: Dad Jokes ( @Dadsaysjokes )Special Guest: Lindsay Wardell.Sponsored By:Raygun: Raygun now offers Real User Monitoring of Core Web Vitals. Start your 14-day free trial now.Coaching | Top End Devs: Do you want to level up your career? or go freelance? or start a podcast or youtube channel? Let Charles Max Wood Help You Achieve Your DreamsTop End Devs: Learn to Become a Top 5% Developer. Join our community of ambitious and engaged programmers to learn how.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.

12 Huhti 20221h 16min

Suosittua kategoriassa Liike-elämä ja talous

sijotuskasti
psykopodiaa-podcast
rss-rahapodi
mimmit-sijoittaa
ostan-asuntoja-podcast
lakicast
rss-lahtijat
rss-laakispodi
rss-neuvottelija-sami-miettinen
oppimisen-psykologia
rss-bisnesta-bebeja
rss-paasipodi
ylos-ja-yrita
rss-yrita-oikein
rss-karon-grilli
rss-20-30-40-podcast
rss-sisalto-kuntoon
rss-seuraava-potilas
rss-yritys-ja-erehdys
rss-40-ajatusta-aanesta