×

Sign in with twitter.

You can follow the user and hashtags.

Share your tips on social media.

Post relative tips.

If you have relative tips, click [Add relative tips] to post.

CakePHPのCakeTestCaseは、setUp()とtearDown()でConfigure::read()の値を保存・書き戻しをしてくれる

@mon_sat@mon_sat 2184 viewer 49 embed viewer embed
テストケースの中でConfigure::write()しても、他のテストケースに影響を及ぼさない
https://github.com/cakephp/cakephp/blob/master/lib/Cake/TestSuite/CakeTestCase.php
#CakePHP
#phpunit
Add relative tips

Users who share this tip.

Comments