vue-cli-plugin-jest-puppeteer
A plugin for the awesome Vue CLI that simplifies the setup needed to use Jest and Puppeteer to write and run E2E tests.
Read more in the KaizenDorks website.
A plugin for the awesome Vue CLI that simplifies the setup needed to use Jest and Puppeteer to write and run E2E tests.
Read more in the KaizenDorks website.
An extension for the sinon.js mocking library. It makes easier to write unit tests for code that uses the MongoDB Node.js driver, allowing you to create stubs and spys for the client, db and collection objects.
Install with npm i -D sinon-mogo
. Read more in KaizenDorks.
mockgo is a Node.js library which simplifies the task to create integration tests using a real MongoDB server.
When integrating mockgo with your tests, it will take care of downloading the right mongo binaries, initialize a real in-memory mongo database and clean it at the end of the test.
I was using mockgo in various Node.js projects for writing integration tests that used a real mongo database but still run fast and in memory.
However some of its dependencies were outdated, which was limiting the MongoDB versions that could be used in our tests.
I submitted a PR that ended up refactoring mockgo not just to update its dependencies, but also to use promises and ended up released as the v2 of the library.
https://www.dotnetcurry.com/vuejs/1441/vuejs-unit-testing
Learn to write tests using the awesome vue-test-utils together with mocha-webpack. Also see how the vue-cli facilitates writing unit tests from the very beginning.
An ASP.NET Core website that implements a simple blogger-like website.
I wrote a series of articles in the DotNetCurry magazine explaining the presentation layer and how to implement unit, integration and E2E testing:
Series of 3 articles covering unit, integration and E2E tests for ASP.NET Core
read more →
I gave a talk all the way back in 2015 about unit testing and TypeScript as part of the Dublin TypeScript meetup.
Technology came a long way since then, but you still have the slides available in slideshare!