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)

Qwik with Misko Hevery - JSJ 549

Qwik with Misko Hevery - JSJ 549

Today we talk with Misko Hevery about solving the loading speed issue for websites constructed using JavaScript frameworks. Such websites are often slow to load, which is detrimental to their ability so succeed. After 16 years at Google, where he created Angular, he now works on the Qwik framework at Builder.io, a headless visual CMS. We learn how Qwik dramatically improves page speed metrics through an innovative architecture that enables resumability instead of hydration. We talk about how this is implemented, and about how you can get started with it. SponsorsTop End DevsCoaching | Top End DevsLinksng-conf 2022Builder.io and Qwik - JSJ 540Core Web Vitals and Whatnot - JSJ 537JSJ 476: Understanding Search Engines and SEO (for devs) - Part Resumable Frameworks: | Miško Hevery | ng-conf 2022 WebinarFramework reimagined for the edge!Twitter: Miško Hevery PicksAJ- JULIAN SMITH - MalkAJ- webinstall.devAJ- Watch The Sandman | Netflix Official SiteCharles- JavaScript Remote Conference 2022Charles- HomeDan- Gentleman Bastard SeriesDan - War in UkraineMisko- Thinking, Fast and SlowSteve - 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.

13 Syys 20221h 11min

Web Performance and the Google WordPress Team with Felix Arntz - JSJ 548

Web Performance and the Google WordPress Team with Felix Arntz - JSJ 548

Today we talk with Felix Arntz, a developer relations engineer at Google.  Hired on the Google WordPress team, and involved with the Sidekick plugin, we discuss some of the challenges and approaches of improving performance on WordPress sites, as well as other open source CMS’s. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksCore PerformanceSlackWordPress + SlackTwitter: @DanShappirTwitter: @wonder95Twitter: @JSJabber- Top End DevsFelix ArntzTwitter: @felixarntzGitHub: felixarntzPicksAJ- Just Use An npm PackageAJ- Engineering FestivusAJ- Caddy 2 - The Ultimate Server with Automatic HTTPSAJ- webinstall.devDan- Watch Better Call Saul Season 6 Online | AMCDan- Web DirectionsDan - War in UkraineFelix- Prey (2022) - IMDbFelix - Man jumps out of plane at 25,000 ft without parachuteSteve- A New Vertical Farm Will Grow 3 Million Pounds of Mycelium a Year for Fungi-Based BaconSteve - 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.

6 Syys 20221h 24min

Supply Chain Security with Stephen Chin - BONUS

Supply Chain Security with Stephen Chin - BONUS

There is no question that the volume, sophistication, and severity of software supply chain attacks is on the rise.  How do you navigate your supply chain security?  Stephen Chin joins the show today to discuss various strategies and action plans for how to best prevent and address these types of attacks. In this episode…Where do you start with supply chain security?Spotting attackers and preventionHow do you know who to trust?Dependency injections and malicious packages Network reliability and uptimePyrsia and JFrog as software toolsConnect with Stephen ChinTwitter: @steveonjavaLinksDevOps Tools for Java DevelopersThe Decentralized Package Network | Pyrsia.ioSoftware Supply Chain to Release Fast & Secure, Continuously | JFrogSupport 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.

2 Syys 202243min

Even More JavaScript Features You Should Avoid - JSJ 547

Even More JavaScript Features You Should Avoid - JSJ 547

Today’s episode is a continuation of the previous JavaScript Jabber Episode 543, where we discuss JS language features to avoid.  Do you agree with the list?  Today we talk about:for inforEachelsenullobject.createA named function using the arrow operator switchlabels SponsorsTop End DevsCoaching | Top End DevsPicksCharles- OrbisCharles- Diablo ImmortalCharles- Richard Paul EvansCharles- JavaScript Remote Conference 2022Charles- - Top End DevsDan- John Carmack: Doom, Quake, VR, AGI, Programming, Video Games, and RocketsDan - BuilderIO framework benchmark mitosisDan - War in UkraineSteve- James Webb Space Telescope Shows Big Bang Didn't Happen? Wait...Steve - 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.

30 Elo 20221h 15min

Vue Courses, Top End Devs, and More... Oh, My! - JSJ 546

Vue Courses, Top End Devs, and More... Oh, My! - JSJ 546

Today Steve and Charles talk about the many updates and events coming to Top End Devs, from upcoming conferences to new courses and content.  Check out the conference lineup at https://topenddevs.com/conferences.  If you are interested in building courses or would like to speak at any of the conferences, contact Charles.  We also dive into a conversation about what it really means to be a 10x developer and a top 1% developer. SponsorsTop End DevsCoaching | Top End DevsLinksOverview - Nuxt 3 Essentials | Vue MasteryAtomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones- Podcast Playbook- Top End Devsvue/CHANGELOG.mdPicksCharles- QuiddlerCharles- Chart.jsCharle- Business Software and Services Reviews | G2Steve- JSON Creator Douglas Crockford Interview by EvroneSteve - 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.

23 Elo 202248min

JavaScript and IoT with Nick Hehr and Peter Hoddie - JSJ 545

JavaScript and IoT with Nick Hehr and Peter Hoddie - JSJ 545

Steve, Dan and A.J talk with Nick Hehr and Peter Hoddie about using JavScript with IoT devices. They cover a wide range of topics, including the XS JavaScript Engine, the only complete ECMAScript 2018 engine optimized for embedded devices (created by Moddable), and even get into the nitty gritty of how it is built and how it works. They also cover TC53 - the standards committee for JS in embedded systems, a committee that Nick and Peter are part of. In picks, they get into a great discussion on home security systems and their various security issue, and of course, Steve brings the great dad jokes. SponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksTC53Resuscitating IoT with JavaScript - Peter Hoddie & Lizzie Prader, Moddable - YouTubeECMA-419: The ECMAScript Embedded Systems API and J5e - Donovan Buck, BrandExtract - YouTubeHipsterBrownModdableTwitter: @hipsterbrownTwitter: @phoddiePicksAJ- GitHub - BeyondCodeBootcamp/jsdoc-typescript-starterAJ- Typing without TranspilationAJ- Eyeglasses Online | Eyewear for Everyone™ | Zenni OpticalAJ- Amazon.com. Spend less. Smile more.AJ- Oakley MX L Frame Adult Tear-Off Off-Road/Dirt Bike Motorcycle Eyewear AccessoriesNick -MicrocenterNick- Abode Home Security - #1 DIY Wireless Home Security SolutionNick-  Build With Matter | Smart Home Device SolutionPeter- The Extensible Web ManifestoPeter- Fanny Mendelssohn - WikipediaSteve-  Introducing multitasking to Arduino | Arduino BlogSupport 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 Elo 20221h 38min

The Story of Mel with Tomer Lichtash and David Frankiel - JSJ 544

The Story of Mel with Tomer Lichtash and David Frankiel - JSJ 544

Today we have special guests Tomer Lichtash and David Frankiel, a web developer and programmer behind the epic hacker folklore project The Story of Mel, a comprehensive guide to The Story of Mel.   This story, which has survived through all the changes in the internet since its birth in 1983, and has morphed through all its iterations into something almost poetic in nature.  This allegory tells the story of the birth of of high-tech culture as we know it today, and creates some heated debate among our panelists as to the validity of its meanings.  Tomer and David tell some of the back story into their journey to discover if the story is a hoax, or if is truly real. SponsorsTop End DevsCoaching | Top End DevsLinksMel's Loop - A Comprehensive Guide to The Story of MelCreeds of Craftsmanship · Issue #18 · BeyondCodeBootcamp/beyondcodebootcampTwitter: @tomerlichtashtomerlichtash - OverviewPicksAJ- Form follows function - WikipediaAJ- dotGo 2015 - Rob Pike - Simplicity is ComplicatedAJ - The UnexplainedDan - Downturn in the Tech IndustryDan- The Thief, His Wife and the Canoe (TV Mini Series 2022) - IMDbDan - War in UkraineDavid- What is Windows Presentation Foundation - WPF .NETDavid - Nouran ZoharDavid - In theory there is no difference between theory and practice, but in practice there is.Tomer - Net Pioneers 1.0Tomer- Post-Gogol World, by The Daniil KharmsSupport 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.

9 Elo 20221h 6min

Splatty-doo and Other JavaScript Features You Should Avoid - JSJ 543

Splatty-doo and Other JavaScript Features You Should Avoid - JSJ 543

Today in this all panelist episode, we talk about JS features you should avoid using.  However opinions don't always align, and some come with much debate!  Although we couldn’t cover them all, today we discuss:eval withargumentsdo while for I++continue classesprototypesthisvar with letdeleteSponsorsTop End DevsRaygun | Click here to get started on your free 14-day trialCoaching | Top End DevsLinksJavaScript Remote Conference 2022Twitter: ‎@cmaxwPicksAJ- Virginia Ctenucha Ctenucha virginica (Esper, 1794) | Butterflies and Moths of North AmericaAJ- The Mistborn Trilogy by Brandon SandersonAJ- Thread pitch gauge at Lowes.com: Search ResultsCharles- AntidoteCharles- Conferences | Top End DevsCharles- 1883 - Yellowstone Prequel (Official Site) Watch on Paramount+Dan- Can I use... Support tables for HTML5, CSS3, etcDan - War in UkraineDan- Webb Space Telescope GSFC/NASASteve- Coworker Standing At Desk Obviously Just Hasn't Learned About Chairs YetSteve - 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.

2 Elo 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