Yii v2 snippet guide III

Comparing #93 with #94

Revision #94 was created by rackycz rackycz on Nov 23, 2021, 8:59:53 PM.

Tests

Content

[...]
HelloWidget::begin(['message' => ' Yii2.0']);
echo 'My content';
HelloWidget::end();
```

**Tests - unit +
opafunctional + acceptance (opa) + coverage**
---
It is easy to run tests as both demo-applications are ready. Use command line and navigate to your project. Then type:
[...]
```

PS: There is also this file [ChromeDriver](https://chromedriver.chromium.org/downloads) but I am not really sure if it is an alternative to "codeception/module-webdriver" or when to use it. I havent studied it yet.

 
 
If you want to see the code coverage, do what is described in the documentation (link above). Plus make sure that your PHP contains [xDebug](https://gist.github.com/odan/1abe76d373a9cbb15bed)! And mind the difference in settings of xDebug2 and xDebug3!