Closed watilde closed 9 years ago
I would say add a --with-test
instead, so default behaviour remains the current behaviour.
@WanWizard Thanks for your comment! --with-test
seems good to build it for this version, I'll try to create a pull-request. IMHO, I think that creating test suite automatically as default is a good scaffolding for being curious of test. How about to put to V2? Thanks.
@watilde Open a feature request at https://github.com/fuelphp/oil-application as generating tests is something that would be good to include in v2 as well.
Hi.
I like to use
oil generate
andoil test
. When I run those commands, I always create a test code scaffolding by myself and it will take a little bit more effort. I'd like to generate easily, so I thought it's actually a nice to generate its test code scaffolding when run oil generate something.e.g.
Current:
I wanted:
Also it can keep the current behavior with receiving this proposal if it was provided
--no-test
option like--no-migration
or a feature to generate a test likeoil generate test model:post
for only generating test scaffolding. Any thoughts on this please?Thanks.