Readme Links
Please check out the readme, and I’m open to suggestions. It might get more sophisticated over time. If you maintain small code files and use other popular tools though, me adding more sophistication won’t be all that useful to you.
Package:
https://www.npmjs.com/package/@clowd/suggest-test
Repository:
https://github.com/mattferrin/suggest-test
Background
I’ve often been throwing together loose scripts to dial in more directly on the next piece of code I’ll write a unit test against. So, I figured I would try to write a new open source version that’s much more tidy and sophisticated than what I might otherwise toss together. It’s something less difficult than the other thing I was working on, trying to generate unit tests dynamically as I write code. Though I still have the vision to do that too eventually. I wanted to take this detour.
Untested But Promising
And this is a release candidate. I plan to run it against real code I work on at least enough to notice any issues. I was only sanity checking it against another personal codebase that has 100 percent code coverage, so it’s obviously not battle tested yet. And there’s obvious things like a missing link to the package’s git repo, and no tests yet.
Top comments (0)