March 2019 Meetup - Node.js Mocks and Testing

13 February 2019

The Seattle Node.js Meetup is pleased to announce our meetup on Monday, March 11th, with two awesome talks focusing on testing with mocks on Node.js.

As always, you can find all things Seattle Node.js-related at the group website: http://seanode.github.io/. And you can reach out to us via email at seattlenode@gmail.com or Twitter at @seattlenode.

See you soon!

Agenda

  • 6:30pm - 7:00pm: Doors open, hang out with your fellow developers. Grab some snacks and beverages courtesy of Textio.

  • 7:00pm - 8:10pm: Learn how to effectively test your Node.js apps and when and how to apply mocks to write better tests!

  • 8:15pm - 8:30pm-ish: Mingle, mix, chat things Node.js-related and more as we wind down.

Talks

Testing apps with third-party API integrations

Mike Solomon (https://twitter.com/MeeshkanML) - CEO, Meeshkan (https://www.meeshkan.com/)

In this talk we will examine strategies and best practices to develop and test node apps that make heavy use of third-party API integrations. As reliance on third-party services becomes more and more prevalent in the node ecosystem, developers need cost-effective, secure, reliable and fast ways to mock these services for both dev/staging environments and testing.

We will start with looking at unmock (https://github.com/unmock/unmock-js) which provides mocks-as-a-service of popular APIs.

The session will have live coding for unmock, using express to create a simple microservice and jest for testing. It will also present several popular design patterns for isolating and testing third-party integrations as well as strategies for integration testing apps that rely on third-party APIs, including corner-case and error testing.

Mike Solomon is the founder and CEO of Meeshkan (meeshkan.com), a Helsinki-based DevOps company. A music major at Stanford University, Queen’s University Belfast and the University of Florida, Mike has been a guest researcher at the University of Paris VI and has held the post of artistic director of the Ensemble 101 (ensemble101.fr) from 2011 until the present day. While working at the IRCAM as a computer music designer, he fell in love with Machine Learning and founded Meeshkan to ease several DevOps pain points in the ML pipeline. Since then, Meeshkan has expanded to other areas of DevOps, including API testing with unmock (unmock.io).

Mock driven development with YesNo

Ian Walker-Sperber (https://twitter.com/ianwsperber) - Node.js Engineer, Formidable (https://formidable.com/)

We’ll explain the testing philosophy which led to the development of YesNo, and how it can be used in practice to build powerful test suites around remote APIs.

Ian joined Formidable in 2016, where he has since worked on Node.js app development, cloud infrastructure, and SQL/NoSql databases. Ian’s recent open source work includes the release of a new HTTP testing library, YesNo, for Node.js, and ongoing contributions to an Apache Kafka client. Prior to Formidable Ian has held various full-stack engineering responsibilities, including a lead role in a massive real time processing application built for General Motors. Ian continues to be passionate about distributed messaging systems and other trends in cloud technology.

Textio (https://textio.com/) has graciously agreed to host the event.

Textio is located at 920 5th Ave Suite 2300, Seattle, WA 98104 in the Madison Centre building at 5th and Madison in downtown Seattle, across the corner from the Seattle Public Library. The event space is on the 23rd floor, accessible through the mid-rise elevator bank inside the building. People will be stationed at the 5th Ave. entrance to Madison Centre to let you in the building.

For parking, here are a few of the nearby options available:



blog comments powered by Disqus