testdouble / teenytest

A very simple, zero-config test runner for Node.js
MIT License
96 stars 14 forks source link

Hk select single test #7

Closed hanneskaeufler closed 8 years ago

hanneskaeufler commented 8 years ago

This is a demo implementation for #4.

searls commented 8 years ago

Ooh, thanks for taking a stab at this! I'm going to dig in on this next week and I'll start with what you've done. If I forget remind me.

hanneskaeufler commented 8 years ago

Sure! Thumbs up on your repos/projects btw, I find them easy to get started on ... smallish issues, test coverage ... (duh 👍)

searls commented 8 years ago

Heads up that I'm working through this now to understand it.

One thing that's really cool is that this approach would allow us to glob for and run all tests with a particular name, for instance:

$ teenytest test/**/*.js#integration

And run all tests named integration across all tests found by that glob. Pretty damn cool!

searls commented 8 years ago

Just landed in 3.1.0. Thanks for the contribution!!