<commit_before>---
layout: post
title: "March 2019 Meetup - Node.js Mocks and Testing"
description: ""
tags: [node.js, test, mock]
---
{% include JB/setup %}

The Seattle Node.js Meetup is pleased to announce our
[meetup](TODO_LINK) 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/](http://seanode.github.io/). And you can reach out to
us via email at [{{site.author.email}}](mailto:{{site.author.email}}) or Twitter
at [@{{site.author.twitter}}](https://twitter.com/{{ site.author.twitter }}).

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.

<!-- more start -->

## Talks

**[TODO_NAME](TODO_SOCIAL_MEDIA) - TODO_TITLE, [TODO_CO](TODO_CO_LINK)**

TODO_BIO

TODO_TALK

**[TODO_NAME](TODO_SOCIAL_MEDIA) - TODO_TITLE, [TODO_CO](TODO_CO_LINK)**

TODO_BIO

TODO_TALK

## Sponsor

**[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<commit_msg>finish event<commit_after>---
layout: post
title: "March 2019 Meetup - Node.js Mocks and Testing"
description: ""
tags: [node.js, test, mock]
---
{% include JB/setup %}

The Seattle Node.js Meetup is pleased to announce our
[meetup](TODO_LINK) 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/](http://seanode.github.io/). And you can reach out to
us via email at [{{site.author.email}}](mailto:{{site.author.email}}) or Twitter
at [@{{site.author.twitter}}](https://twitter.com/{{ site.author.twitter }}).

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.

<!-- more start -->

## Talks

**Testing apps with third-party API integrations**

_<NAME> (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.

<NAME> 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**

_<NAME> (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.

## Sponsor

**[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
{'fraction_non_alphanumeric': 0.09231348907309721, 'fraction_numerical': 0.016955538809344386, 'mean_word_length': 4.450718685831622, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 9, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3511276', 'n_tokens_mistral': 1616, 'n_tokens_neox': 1492, 'n_words': 707}