Announcing a new package: @jamietanna/spectral-test-harness

Featured image for sharing metadata for article

Yesterday I wrote about how to get started with TDDing Spectral API linting rules.

Because I'm going to need to use it in at least one work repository, and it's likely I'll be using it in a few other places, I've decided to skip to the end and publish it as its own standalone package that can be maintained and improved centrally.

You can find this at @jamietanna/spectral-test-harness on NPM, and the source repo is on GitLab at jamietanna/spectral-test-harness.

Currently it's working quite nicely for the simple use cases I've got, but I'm hoping we can improve it over time!

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

#spectral-test-harness #api #unit-testing #testing #javascript #nodejs.

This post was filed under articles.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.