2amigos / yiinitializr

Library that will help boost your application installation with ease and also to run Yii applications from its bootstrap files on a much cleaner way that the framework currently proposes.
Other
44 stars 17 forks source link

Tests integrated in Yiinitializr #18

Open smartfin opened 11 years ago

smartfin commented 11 years ago

Hi! Thanks for your project.

I'm currently using advanced template, but have one big problem - tests. My application has been moved from standard Yii structure. Everything is ok, except tests. Are there any simple and nice way to integrate them? i mean configs, etc.

blitzjs commented 11 years ago

Also curious if there is an easy way to set up testing.

Borales commented 11 years ago

@smartfin @blitzjs what kind of tests are you talking about? @smartfin I didn't find any tests intergrated to Yiinitializr, can you show me a link with such tests?

A few months ago I've started to make a "test" project (based on advanced Yiinitializr template) with @Codeception tests (Borales/yiitinializr-codeception), but to a due a lack of time still can't finish it. In that project, I have 3 main scripts (test_api.sh, test_backend.sh, test_frontend.sh) - each of them runs tests for a specific app-part. I think it's possible to make a root codeception.yml config to run all tests at once (read Codeception manual).

For this point - all tests are working as expected