<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rのメモ帳 &#187; CakePHP</title>
	<atom:link href="http://brandish.xrea.jp/wordpress/?feed=rss2&#038;tag=cakephp" rel="self" type="application/rss+xml" />
	<link>http://brandish.xrea.jp/wordpress</link>
	<description>Regihsが送るぐだぐだな日々の中で思いついたことを書き綴るページです。</description>
	<lastBuildDate>Wed, 25 Jul 2012 01:19:38 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CakePHPのユニットテストとdebug()</title>
		<link>http://brandish.xrea.jp/wordpress/?p=325</link>
		<comments>http://brandish.xrea.jp/wordpress/?p=325#comments</comments>
		<pubDate>Wed, 25 Jul 2012 01:19:38 +0000</pubDate>
		<dc:creator>regihs</dc:creator>
				<category><![CDATA[CakePHP]]></category>

		<guid isPermaLink="false">http://brandish.xrea.jp/wordpress/?p=325</guid>
		<description><![CDATA[CakePHPでユニットテストを行っているとき，assertで失敗したため，変数の内容を見てみたいとdebug()を使いました。ところが，何も出力されない。core.phpでdebugの値を0にしているわけでもなく，原因 &#8230; <a href="http://brandish.xrea.jp/wordpress/?p=325">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>CakePHPでユニットテストを行っているとき，assertで失敗したため，変数の内容を見てみたいと<code>debug()</code>を使いました。ところが，何も出力されない。core.phpで<code>debug</code>の値を0にしているわけでもなく，原因が思い当たりません。</p>
<p>どうしたものかと思っていたら，<a href="http://book.cakephp.org/2.0/en/development/testing.html" target="_blank">CookbookのTesting</a>にズバリ書いてありました…。</p>
<p><cite>All output is swallowed when using PHPUnit 3.6+. Add the &#8211;debug modifier if using the CLI or add &#038;debug=1 to the url if using the web runner to display output.</cite></p>
<p>コマンドラインで実行している場合には，<code>--debug</code>オプションをつければよく，ウェブブラウザ上で実行している場合には，アドレスに<code>&#038;debug=1</code>をつければよいそうです。</p>
]]></content:encoded>
			<wfw:commentRss>http://brandish.xrea.jp/wordpress/?feed=rss2&#038;p=325</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
