<?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-04-20T13:41:46Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<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 '''Search''' 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 '''Use Bootstrap''' and '''Use Bootstrap for Creating New Unit Tests''' as a Bootstrap file, select ''index.php'' 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 ''Test''. Or in the Run menu select ''Test'' 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>