Open seancorfield opened 3 years ago
https://git.sr.ht/~severeoverfl0w/juxt-wedge/tree/master/item/test-template here's the script I use which generates multiple varieties. There's a bunch of things I would ideally test as I change things (e.g. after running (go)
does an HTTP request to / work?).
I can appreciate that some of these might be out of scope for clj-new, but I expect they're also the most useful thing to test alongside a template. There're properties you want to have hold across a matrix of possible combinations of options.
Just so I understand, this is about some additional support for testing a new template as you are developing it specifically, rather than general project testing?
Yeah, I'd be interested in testing the template in some way. I suppose the tools I might need are:
I ended up with fairly simple tests.
It would be nice to encourage template developers to do 1/2/4 by having something for this in the default template template. I rolled my own tools for that, I'm not sure if there's a programmatic client around for pREPL though.
Dominic Monroe on Slack: