The Wrong Language
Home Archives
Home Archives

Graham Cox

Software Developer

Sheffield, England FOLLOW
18 posts
28 tags
2015

Unit Testing ES6 Modules - Mockery

2015-08-20
programming

For a long time, one of the big problems I’ve had with NodeJS is that of Unit Testing. Specifically with the fact that, by definition, a Unit Test is testing a single unit in complete isolation of the rest of the world. In Node terms, a Unit would be a single Module.

Read More

Share Comments
  • es6
  • javascript
  • mockery
  • mocks
  • testing

recents

  • programming

    OpenID Connect Response Types

    2016-09-03

  • programming

    TDD with Static Typed Languages

    2016-05-29

  • programming

    I disagree with HATEOAS

    2016-05-08

  • programming

    Designing a GraphQL API

    2016-05-07

  • programming

    I don't like Relay

    2016-05-06

categories

  • blog2
  • buildsystems4
  • programming12

tag cloud

HATEOAS REST TDD ajax api cors es5 es6 github graphql grunt hexo javascript mocha mockery mocks mongodb nodejs oauth2 oidc openid openid connect rant relay s3 testing travisci webdev

archives

  • September 20161
  • May 20164
  • January 20162
  • October 20151
  • August 20154
  • July 20151
  • June 20151
  • May 20154
© 2016 Graham Cox
Powered by Hexo. Theme by PPOffice