yiinitializr icon indicating copy to clipboard operation
yiinitializr copied to clipboard

Tests integrated in Yiinitializr

Open smartfin opened this issue 11 years ago • 2 comments

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.

smartfin avatar Aug 19 '13 14:08 smartfin

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

blitzjs avatar Oct 22 '13 06:10 blitzjs

@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

Borales avatar Oct 23 '13 14:10 Borales