espec_phoenix icon indicating copy to clipboard operation
espec_phoenix copied to clipboard

Integration with Phoenix Generators.

Open pragmaticivan opened this issue 9 years ago • 6 comments

How to setup espec as a default generator for specs when I generate a view or json with phoenix.

pragmaticivan avatar Apr 27 '16 19:04 pragmaticivan

Hi, Ivan. Sorry, there is no such feature. I've marked the issue as feature request

antonmi avatar Apr 28 '16 06:04 antonmi

@antonmi for those of new to phoenix and espec, are they any examples of generators we can use to start working on this feature?

cdesch avatar Oct 05 '16 13:10 cdesch

Hi, @cdesch ! The feature is about phoenix generators described here: http://www.phoenixframework.org/docs/mix-tasks These commands generate ExUnit test examples. We need to make them generating ESpec examples too.

antonmi avatar Oct 05 '16 13:10 antonmi

Please note that Phoenix 1.3 rewrites the generators pretty much so if you want this it might be best to move over to extending the new ones...

aphillipo avatar Jun 25 '17 11:06 aphillipo

Thanks, @aphillipo !

antonmi avatar Jun 25 '17 17:06 antonmi

This would be great! I've been working on building some standard general practices for myself for building out specs for various elements. Would be happy to help :)!

edwinthinks avatar Feb 25 '19 22:02 edwinthinks