antonmi / espec_phoenix

ESpec for Phoenix web framework.
MIT License
138 stars 33 forks source link

Integration with Phoenix Generators. #21

Open pragmaticivan opened 8 years ago

pragmaticivan commented 8 years ago

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

antonmi commented 8 years ago

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

cdesch commented 8 years ago

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

antonmi commented 8 years ago

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.

aphillipo commented 7 years ago

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...

antonmi commented 7 years ago

Thanks, @aphillipo !

edwinthinks commented 5 years ago

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 :)!