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 298: Angular, Vue and TypeScript with John Papa

JSJ 298: Angular, Vue and TypeScript with John Papa

Panel: Charles Max WoodCory HouseJoe EamesAimee KnightSpecial Guests: John PapaIn this episode, JavaScript Jabber panelist speak with John Papa. John has been doing web programming for over twenty years on multiple platforms and has been contributing to the developer communities through conferences, authoring books, videos and courses on Pluralsight.John is on the show to discuss an articles he wrote on A Look at Angular Along Side Vue, and another article on Vue.js  with TypeScript. John talks about the new features with the different versions of Angular technologies, anxiety in the different features, comparisons between the technologies and use case with Angular.In particular, we dive pretty deep on:A look at Angular Along Side Vue - ArticleAngular 5, Amber,Vue,  React, AngularAngular 2 - different featuresCLISpell WebpackComparisons - Why the anxiety?Opinions of Angular and sprinkling in other technologiesVue is the easy to use with AngularAre there breakpoints with the uses case?Choosing technologiesTalk about working with Vue and AngularDSL - Domain Specific LanguageVue and 3rd party librariesTalk about Vue working with TypeScriptVue.js  with TypeScriptVue with TypeScript looks similar to AngularVeturWhat does 2018 have in store for Angular?Native apps and web functionalityAnd much more!Links:https://johnpapa.netVue.js  with TypeScriptA Look at Angular Along Side Vue@john_papahttps://github.com/johnpapaPicks:Coreycypress.ioCharlesE Myth RevisitedProfit First DunkirkAimeeCrucial Conversations Ripple or XRPJoeThe Greatest ShowmanBetter Late Then NeverVue7 Languages In 7 Weeks  - BookJohnJumanji 2017Emotional IntelligenceSpecial Guest: John Papa. 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.

31 Jan 201842min

JSJ 297: Scrollytelling with Russell Goldenberg and Adam Pearce

JSJ 297: Scrollytelling with Russell Goldenberg and Adam Pearce

Panel: Charles Max WoodJoe EamesAimee KnightSpecial Guests: Russell Goldenberg and Adam PearceIn this episode, JavaScript Jabber panelist speak with Russell Goldenberg and Adam Pearce Russell creates visualizations, interactive graphics, and documentaries for the web. Currently an editor at The Pudding.  Adam is a graphics editor at The New York Times and a journalist engineers/developer  Russell and Adam are on the show to talk about what Scrollytelling is, as well as Scrollama. Scrollama is a modern and lightweight JavaScript library for scrollytelling using IntersectionObserver in favor of scroll events. This is a great episode to understand another technology/tool created with JavaScript.In particular, we dive pretty deep on:What is Scrollytelling!Graph Scroll libraryWhat is the intersection Observerable?How long does it take to build an interactive graphic…?How do you test something like this?Test on a lot of different devicesCan you do automated testing?Do you have to understand the use cases or can you implement quickly?Recommendation for getting started?Is this a skill set people have to have before that some on board?How do design these interactions?Scroll jackingWhat JS developers should know about this technology.Position stickyWhat are other uses cases?What can devs use it for?Tax calculatorAnd much more!Links: https://github.com/russellgoldenberg/scrollamahttps://pudding.cool/process/introducing-scrollama/ @codenberg @adamrpearcehttps://pudding.cool/http://russellgoldenberg.github.iohttps://github.com/1wheel?direction=desc&sort=created&tab=starshttps://roadtolarissa.comPicks:AdamDominion - Broad GameCharlesSmokerTiny Epic GalaxiesIndiegogo Dev Chat TVAimeeDeadlinesQuest Protein PowderJoeGiving!Board Game - AzulRusselCrokinoleBust OutSpecial Guests: Adam Pearce and Russell Goldenberg. 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.

23 Jan 201842min

JSJ 296: Changes in React and the license with Azat Mardan

JSJ 296: Changes in React and the license with Azat Mardan

Panel: Charles Max WoodCory HouseJoe EamesAimee KnightSpecial Guests: Azat MardanIn this episode, JavaScript Jabber panelist speak with Azat Mardan. Azat is a return guest, previously on JSJ Episode 230. Azat is an author of 14 books on Node JS, JavaScript, and React JS. Azat works at Capital One on the technology team. Azat is the founder and creator of Node University.Azat is on the show to talk about changes in React and licensing. Some of the topics cover Facebook,  licensing with React, using the wrong version of React, patent wars, and much more in-depth information on current events in React.In particular, we dive pretty deep on:Facebook - Licensing with ReactUsing the Wrong version of React in some companiesBSD licensingPatent warsFacebook developing ReactDifference in Preact and InfernoRewriting applicationsWhat did Capital One do about the changes?React 16Pure ReactWas the BSD patents - Med and Sm CompaniesPatents explainedReact Developers at FacebookFiber - New Core ArchitectureAnd much more!Links:http://azat.cohttps://node.universityhttps://devchat.tv/js-jabber/230-jsj-node-at-capital-one-with-azat-mardanPicks:CoryAxel Rauschmayer postPrettierCharlesIndiegogo for Dev Chatforum.devchat.tvAimeeDev TeesHacker News - Question on Stack Exchange and Estimates JoeHeroku El Camino ChristmasAzatPMP Azat - Short LectureSpecial Guest: Azat Mardan. 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.

16 Jan 201857min

JSJ 295: Developers as Entrepreneurs with Ryan Glover

JSJ 295: Developers as Entrepreneurs with Ryan Glover

Panel: Charles Max Wood Cory HouseJoe EamesAimee Knight  Special Guests: Ryan GloverIn this episode, JavaScript Jabber panelist speak with Ryan Glover. Ryan is on JavaScript Jabber to talks about Entrepreneurship as a developer.  Ryan runs Clever Beagle in Chicago Illinois. Clever Beagle is a mentorship company that helps people build their first software Product. Ryan and the panel discuss the many roads of entrepreneurship, startup business ideas, servicing and teaching the community, how to’s, and psychological challenges, hiring, seeing your ideas through to the end, and privilege. In particular, we dive pretty deep on:How do you get started as an entrepreneur? Clever BeagleThe Meteor ChefWhere are people getting stuck on the builds? Fear, unknownsSimple, but not easy Drive and ability to step into the unknownSurvival of the fittestHire before you are already Losing your marblesStarting on a smaller scaleHow do I know my idea is going to work? Book - Brick by BrickMultiple lines of businessManaging a portfolio of business Revenue streams Marketing QuitterWhen do I quit? 6-12 months of cash before you quitMaking mistakes in entrepreneurship?Be a reader and studyGo out a read books! Experiential not taught Luck and PrivilegeVideo - Life of Privilege Explained in a $100 RaceProcrastinate on PurposeAnd much more! Links:Clever Beagle The Meteor Chefhttps://www.linkedin.com/in/ryanggloverhttp://www.ryanglover.netBrick by BrickQuitterProcrastinate on PurposeDo Thing That Don’t Scale@rgloverPicks:CoryThe Power of MomentsThe 50th LawCharlesReactDevSummit.comIndiegogo for Dev Chat.NetRocksAimeeLife of Privilege Explained in a $100 RaceJoeEverybody LiesMurder on the Orient Express RyanTurning Pro - Steven Pressfield seriesThe Power of Beliefs in BusinessSpecial Guest: Ryan Glover. 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.

9 Jan 20181h 5min

JSJ 294: Node Security with Adam Baldwin

JSJ 294: Node Security with Adam Baldwin

Panel: Charles Max WoodAJ O’NealJoe EamesSpecial Guests: Adam BaldwinIn this episode, JavaScript Jabber panelist speak with Adam Baldwin. Adam is a return guest and has many years of application security experience. Currently, Adam runs the Node Security Project/Node Security Platform, and Lift Security. Adam discusses the latest of security of Node Security with Charles and AJ. Discussion topics cover security in other platforms, dependencies, security habits, breaches, tokens, bit rot or digital atrophy, and adding security to your development.In particular, we dive pretty deep on:What is  the Node Security Project/Node Security PlatformDependency treesNPMTokens and internal dataWhat does Node Security do for me?NPX and NSPCommand Line CILBit Rot or Digital AtrophyHow often should you check repos.AdvisoriesIf I NPM install?Circle CI or TravisNSP CheckWhat else could I add to the securities?Incorporate security as you build thingsHow do you find the vulnerabilities in the NPM packagesTwo Factor authentication for NPMWeak PasswordsOL Dash?Install ScriptsFavorite Security Story?And much more!Links:Node Security Lift Securityhttps://github.com/evilpacket@nodesecurity@liftsecurity@adam_baldwinPicks:AdamKey BaseHave I been Pwned?CharlesNettie Pot convo.comAJThis Episode with Adam BaldwinFree the Future of Radical PriceMade In America Sam WaltonSonic - VGM AlbumJoePych - MovieNG ConfWhy We Don’t SuckSpecial Guest: Adam Baldwin. 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 Jan 20181h 8min

JSJ 293: Big Data with Nishant Thacker

JSJ 293: Big Data with Nishant Thacker

Panel: Charles Max WoodSpecial Guests: Nishant ThackerIn this episode, JavaScript Jabber speaks with Nishant Thacker. Nishant is the technical product manager for all things big data at Microsoft. Nishant mentions the many new technologies and announcements he is in-charge of at Microsoft.Nishant is on the show to talk about Big Data and gives advice on how to process data and acquire deep insight of your customers. This is a great episode to understand the development of data systems that are the backbone of some marketing tools.In particular, we dive pretty deep on:Processing MetricsProcessing into report and usable informationData lakeCollecting data pointsCreating and maintaining the data lake in its raw formScale up engines and limitsCommodity machines and leverageBig data means to scale outSpecialized engines for audio and video filesHow to have a cohesive report?Writing and Querying across dataStoring raw data and retrieve dataData clusterWhat does the data box look like?And much more!Links:https://www.linkedin.com/in/nishantthacker@nishantthackerPicks:NishantRobot ICharlesZoom H6Shure SM 58Lavalier MicsSpecial Guest: Nishant Thacker. 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 Dec 201734min

JSJ 292: CosmosDB with Kirill Gavrylyuk

JSJ 292: CosmosDB with Kirill Gavrylyuk

Panel: Charles Max WoodSpecial Guests: Kirill GavrylyukIn this episode, JavaScript Jabber speaks with Kirill Gavrylyuk. Kirill is a dev manager at Cosmos DB, and works professionally with Azure CosmosDB. Kirill is on JavaScript Jabber to talk about what CosmosDB is in the world of development technology. Chuck and Kirill discuss the nuances of this database technology, how it is implemented, and how to manage and migrate data, among other great features.In particular, we dive pretty deep on:What is Cosmos DB?Bring your data anywhere your users areIt is a websiteMultimodel databaseWorks with Mongodb CassandraStarted as database DBThroughputKey data pairsSwitching from MongoDB to AzureHow do you decide what goes into this? It looks like an everything database.Migration pathUses cases, problems solvedSupporting APIsDoes it only exist in the Cloud? An emulator is available.Subscription info.And much more!Links:@kirillg-msfthttps://www.linkedin.com/in/kirillgavrylyukPicks:KirillShared Debugging with VS Code - KeynoteCharlesUSB Powered Monitor on Amazon    Special Guest: Kirill Gavrylyuk. 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 Dec 201730min

JSJ 291: Serverless For JavaScript with Gareth McCumskey

JSJ 291: Serverless For JavaScript with Gareth McCumskey

Panel:Charles Max Wood Aimee KnightAJ O’NealJoe Eames Special Guests: Gareth McCumskeyIn this episode, JavaScript Jabber speaks with Gareth McCumskey about Serverless For JavaScript. Gareth leads the dev team at Expat Explore in Cape Town, South Africa. Gareth and this team specialize in exploring the Serverless realm in JavaScript. The JavaScript Jabbers panel and Gareth discuss the many different types of serverless systems, and when to implement them, how serverless system work, and when to go in the direction of using Serverless. In particular, we dive pretty deep on:What does it mean to be Serverless? Since platform as a service.Microservice on Docker Firebase“no backend” Backend systems Cloud functions and failure in systems How do you start to think about a serverless system? How do decide what to do?AWS Lambda Working in a different vendorNode 4 Programming JS to deploy Using libraries for NPMHow is works with AWS LambdaWhere is the database?More point of failure? Calls to Slack?AuthenticationMicro ServicesElastic Bean StalkStatic Assets, S3, ManagingTesting the services Integration testingAnd much more! Links:@garethmcc@expatexploregareth.mccumskey.comhttps://github.com/garethmccserverless.comPicks:AimeeServerless Architectures NG-BE Conference AJDocumentary on EnronHard Thing about Hard Things CharlesServerless FrameworkThe Storm Light Achieves Avengers: Infinity WarGarethBuilding MicroServices Skeptics Guide To The Universe PodcastExpate Explore Joe Wonder -  MovieGloom In Space - Board Game  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.

12 Dec 201756min

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