<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>70</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>80</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\IResultWrapper::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/IResultWrapper.php</b> on line <b>75</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\ResultWrapper::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php</b> on line <b>117</b><br />
<br />
<b>Deprecated</b>:  Return type of Wikimedia\Rdbms\ResultWrapper::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/libs/rdbms/database/resultwrapper/ResultWrapper.php</b> on line <b>90</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::open($save_path, $session_name) should either be compatible with SessionHandlerInterface::open(string $path, string $name): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>199</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::close() should either be compatible with SessionHandlerInterface::close(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>214</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::read($id) should either be compatible with SessionHandlerInterface::read(string $id): string|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>228</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::write($id, $dataStr) should either be compatible with SessionHandlerInterface::write(string $id, string $data): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>256</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::destroy($id) should either be compatible with SessionHandlerInterface::destroy(string $id): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>362</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\PHPSessionHandler::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/PHPSessionHandler.php</b> on line <b>383</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>624</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>629</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>639</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>634</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>649</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>644</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>659</b><br />
<br />
<b>Deprecated</b>:  Return type of & MediaWiki\Session\Session::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>672</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>681</b><br />
<br />
<b>Deprecated</b>:  Return type of MediaWiki\Session\Session::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in <b>/var/www/html/includes/session/Session.php</b> on line <b>685</b><br />
<br />
<b>Deprecated</b>:  Message implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in <b>/var/www/html/includes/Message.php</b> on line <b>159</b><br />
<br />
<b>Deprecated</b>:  RawMessage implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in <b>/var/www/html/includes/RawMessage.php</b> on line <b>34</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property RequestContext::$recursion is deprecated in <b>/var/www/html/includes/context/RequestContext.php</b> on line <b>354</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property Parser::$mPreprocessorClass is deprecated in <b>/var/www/html/includes/parser/Parser.php</b> on line <b>280</b><br />
<br />
<b>Deprecated</b>:  Creation of dynamic property PPDStack::$accum is deprecated in <b>/var/www/html/includes/parser/Preprocessor_DOM.php</b> on line <b>803</b><br />
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
		<id>https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=Automatic_testing_in_NetBeans</id>
		<title>Automatic testing in NetBeans - Historie editací</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.freenetis.org/index.php?action=history&amp;feed=atom&amp;title=Automatic_testing_in_NetBeans"/>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=Automatic_testing_in_NetBeans&amp;action=history"/>
		<updated>2026-12-04T08:19:07Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.30.0</generator>

<br />
<b>Deprecated</b>:  Creation of dynamic property WikitextContent::$mText is deprecated in <b>/var/www/html/includes/content/TextContent.php</b> on line <b>56</b><br />
	<entry>
		<id>https://wiki.freenetis.org/index.php?title=Automatic_testing_in_NetBeans&amp;diff=2182&amp;oldid=prev</id>
		<title>Sivosha: Založena nová stránka: cs:Automatické testování v NetBeans ru:Автоматизированное тестирование в NetBeans  == Integration of PHPUnit into NetBeans ==  ===...</title>
		<link rel="alternate" type="text/html" href="https://wiki.freenetis.org/index.php?title=Automatic_testing_in_NetBeans&amp;diff=2182&amp;oldid=prev"/>
				<updated>2014-06-07T15:13:38Z</updated>
		
		<summary type="html">&lt;p&gt;Založena nová stránka: &lt;a href=&quot;http://wiki.freenetis.org/index.php/Automatick%C3%A9_testov%C3%A1n%C3%AD_v_NetBeans&quot; class=&quot;extiw&quot; title=&quot;cs:Automatické testování v NetBeans&quot;&gt;cs:Automatické testování v NetBeans&lt;/a&gt; &lt;a href=&quot;http://wiki.freenetis.org/index.php/%D0%90%D0%B2%D1%82%D0%BE%D0%BC%D0%B0%D1%82%D0%B8%D0%B7%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%BD%D0%BE%D0%B5_%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5_%D0%B2_NetBeans&quot; class=&quot;extiw&quot; title=&quot;ru:Автоматизированное тестирование в NetBeans&quot;&gt;ru:Автоматизированное тестирование в NetBeans&lt;/a&gt;  == Integration of PHPUnit into NetBeans ==  ===...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[cs:Automatické testování v NetBeans]]&lt;br /&gt;
[[ru:Автоматизированное тестирование в NetBeans]]&lt;br /&gt;
&lt;br /&gt;
== Integration of PHPUnit into NetBeans ==&lt;br /&gt;
&lt;br /&gt;
=== Installing packages === &lt;br /&gt;
&lt;br /&gt;
in Ubuntu/Debianu:&lt;br /&gt;
&lt;br /&gt;
 sudo apt-get install phpunit&lt;br /&gt;
&lt;br /&gt;
in Fedora:&lt;br /&gt;
&lt;br /&gt;
 sudo yum install phpunit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Setting NetBeans ===&lt;br /&gt;
&lt;br /&gt;
Enter the path to PHPUnit (/usr/bin/PHPUnit) manually or using the &amp;#039;&amp;#039;&amp;#039;Search&amp;#039;&amp;#039;&amp;#039; window&lt;br /&gt;
&lt;br /&gt;
Tools&amp;gt; Preferences&amp;gt; PHP&amp;gt; Unit Testing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 == Creating tests ==&lt;br /&gt;
&lt;br /&gt;
In the context menu of the test source file/folder, select&lt;br /&gt;
&lt;br /&gt;
Tools&amp;gt; Create PHPUnit tests&lt;br /&gt;
&lt;br /&gt;
Enter the path to the folder (the folder is in the root directory of tests FreenetIS). The test files will be automatically generated there. This this is a basis for creating tests selected file. In this file naimplementujte tests for each method.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Running tests ==&lt;br /&gt;
&lt;br /&gt;
In the Project Properties window, enable PHPUnit &amp;#039;&amp;#039;&amp;#039;Use Bootstrap&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;Use Bootstrap for Creating New Unit Tests&amp;#039;&amp;#039;&amp;#039; as a Bootstrap file, select &amp;#039;&amp;#039;index.php&amp;#039;&amp;#039; in the root directory FreenetIS.&lt;br /&gt;
&lt;br /&gt;
In the context menu of the source file that you want to test, select &amp;#039;&amp;#039;Test&amp;#039;&amp;#039;. Or in the Run menu select &amp;#039;&amp;#039;Test&amp;#039;&amp;#039; project. Then it will automatically check all of the tests and view the results in the Test Results window.&lt;/div&gt;</summary>
		<author><name>Sivosha</name></author>	</entry>

	</feed>