<?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/"
	xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule"
>

<channel>
	<title>Junit | Psyops Prime</title>
	<atom:link href="https://psyopsprime.com/tag/junit/feed/" rel="self" type="application/rss+xml" />
	<link>https://psyopsprime.com</link>
	<description>An Idea Log</description>
	<lastBuildDate>Thu, 16 Feb 2017 06:07:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<site xmlns="com-wordpress:feed-additions:1">99640787</site>	<item>
		<title>Search Based Software Testing Using JUnit</title>
		<link>https://psyopsprime.com/ideas/search-based-software-testing-using-junit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=search-based-software-testing-using-junit</link>
					<comments>https://psyopsprime.com/ideas/search-based-software-testing-using-junit/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 16 Feb 2017 06:07:36 +0000</pubDate>
				<category><![CDATA[FYP Ideas]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[Research Ideas]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Spirituality]]></category>
		<category><![CDATA[Junit]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[metaheuristics]]></category>
		<category><![CDATA[software testing]]></category>
		<guid isPermaLink="false">http://psyopsprime.com/?p=1464</guid>

					<description><![CDATA[<p>I was talking about JUnit the other day. I heard a few voices from the audience asking about a significant benefit of JUnit. It appeared</p>
The post <a href="https://psyopsprime.com/ideas/search-based-software-testing-using-junit/">Search Based Software Testing Using JUnit</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">I was talking about JUnit the other day. I heard a few voices from the audience asking about a significant benefit of JUnit. It appeared that for them JUnit was quite ordinary. JUnit allows to unit test software. If you have written a class, you can check whether its methods work really well according to the specifications using JUnit. You can test that class and its methods in isolation. Whether or not the rest of your work is even developed does not matter. Once you have a class ready, you can test it using JUnit. This alone is a huge benefit of JUnit.</p>
<p style="text-align: justify;">You, nonetheless, have to provide the test cases, against which you want to check the methods, by yourself. For small methods, requiring only a handful of input arguments, and only a handful of possible values for those arguments, JUnit alone can suffice as a unit test framework. You can provide those values by reading the software specification. However, when the number of possible values to be input is very large, running the tests manually can be limiting. Even if you are using a smart way of providing the inputs, through looping, by employing a brute force testing scheme, there could be limits to what you can achieve with JUnit. You may not be able to test all the possible combinations of values which your method can accept. Moreover, the method under test might as well have failed on a certain combination that you failed to provide. Brute force algorithms work well when the combination of values is rather small. As you increase that number, brute force schemes begin to reveal their appetite for computing resources. Moreover, if the software is very sensitive to a certain range of inputs, it becomes all the more important to check its functioning against those values.</p>
<p style="text-align: justify;">Search techniques based on meta-heuristics come in handy to rescue such situations. With search techniques, you can automate your tests. Search techniques are also well-known for exploring the regions of search space that are hard to reach manually or through other algorithms.</p>
<p style="text-align: justify;">Meta-heuristic search algorithms, such as genetic algorithms have been widely applied to the feat of software testing in the past. The idea of coupling them with JUnit is also not very exceptional. Here I am listing a few links that reflect on this type of work. You never know you might like these ideas. And you may as well end up working on some of these for your future career.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://digitalcommons.utep.edu/cs_techrep/234/">A Complete Automation of Unit Testing for Java Programs</a></h4>
<p>Program testing is expensive and labor-intensive, often consuming more than half of the total development costs, and yet it is frequently not done well and the results are not always satisfactory. However, testing is the primary method to ensure that programs comply with requirements.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://dl.acm.org/citation.cfm?id=1007528">Evolutionary testing of classes | ACM SIGSOFT Software Engineering Notes</a></h4>
<p>Object oriented programming promotes reuse of classes in multiple contexts. Thus, a class is designed and implemented with several usage scenarios in mind, some of which possibly open and generic. Correspondingly, the unit testing of classes cannot make &#8230;</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://ieeexplore.ieee.org/abstract/document/6363461/">No Title</a></h4>
<p>A Static Approach to Prioritizing JUnit Test Cases | IEEE Journals &#038; Magazine | IEEE Xplore</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://ieeexplore.ieee.org/abstract/document/1557156/">No Title</a></h4>
<p>Strategy for mutation testing using genetic algorithms | IEEE Conference Publication | IEEE Xplore</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://dl.acm.org/citation.cfm?id=1642967">Improving Structural Testing of Object-Oriented Programs via Integrating Evolutionary Testing and Symbolic Execution | Proceedings of the 23rd IEEE/ACM International Conference on Automated Software Engineering</a></h4>
<p>Achieving high structural coverage such as branch coverage in object-oriented programs is an important and yet challenging goal due to two main challenges. First, some branches involve complex program logics and generating tests to cover them requires deep knowledge of the program structure and semantics.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="http://dl.acm.org/citation.cfm?id=1558085">Evolutionary testing of autonomous software agents | Proceedings of The 8th International Conference on Autonomous Agents and Multiagent Systems &#8211; Volume 1</a></h4>
<p>A system built in terms of autonomous agents may require even greater correctness assurance than one which is merely reacting to the immediate control of its users. Agents make substantial decisions for themselves, so thorough testing is an important consideration.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/53986933@N00/5102705979" target="_blank">snowpeak</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" /></a></small></p>The post <a href="https://psyopsprime.com/ideas/search-based-software-testing-using-junit/">Search Based Software Testing Using JUnit</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/ideas/search-based-software-testing-using-junit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">1464</post-id>	</item>
		<item>
		<title>JUnit Resources</title>
		<link>https://psyopsprime.com/education/junit-resources/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=junit-resources</link>
					<comments>https://psyopsprime.com/education/junit-resources/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 15 Feb 2017 06:22:45 +0000</pubDate>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Junit]]></category>
		<category><![CDATA[unit testing]]></category>
		<guid isPermaLink="false">http://psyopsprime.com/?p=1450</guid>

					<description><![CDATA[<p>Students can have weird demands. They can ask you to teach them things that you'd never ever heard of before. This time I was asked by a crazy bunch to tell them something about JUnit. So I am gathering some resources here that you might find useful. By the way, JUnit is a Java framework that you can use to unit test your software, primarily written in Java. To this end, you can whether methods of a class or object work as they are supposed to according to the specifications. Here you go with the resources:</p>
The post <a href="https://psyopsprime.com/education/junit-resources/">JUnit Resources</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></description>
										<content:encoded><![CDATA[<p style="text-align: justify;">Students can have weird demands. They can ask you to teach them things that you&#8217;d never ever heard of before. This time I was asked by a crazy bunch to tell them something about JUnit. So I am gathering some resources here that you might find useful. By the way, JUnit is a Java framework that you can use to unit test your software. To this end, you can whether methods of a class or object work as they are supposed to according to the specifications. Here you go with the resources:</p>
<p style="text-align: justify;">This tutorial on tutorials-point is possibly the best thing I have come across about JUnit.</p>
<blockquote class="embedly-card" data-card-controls="1" data-card-align="center" data-card-theme="light" data-card-key="a8a0731b061246639032e063d551fbc2">
<h4><a href="https://www.tutorialspoint.com/junit/">JUnit Tutorial</a></h4>
<p>JUnit Tutorial &#8211; JUnit is a unit testing framework for Java programming language. JUnit has been important in the development of test-driven development, and is one of a family of unit testing frameworks collectively known as xUnit, that originated with JUnit.</p>
</blockquote>
<p><script async src="//cdn.embedly.com/widgets/platform.js" charset="UTF-8"></script></p>
<p>This is a very nice tutorial that tells you how to use JUnit in netbeans. This will make your life a lot more easier.</p>
<p>https://netbeans.org/kb/docs/java/junit-intro.html#Exercise_31</p>
<p><small><a style="text-decoration: none;" title="Image inserted by the ImageInject WordPress plugin" href="http://wpinject.com/" rel="nofollow">Photo</a> by <a href="http://www.flickr.com/photos/71835142@N08/8373046605" target="_blank">Kieran Clarke</a> <a title="Attribution License" href="http://creativecommons.org/licenses/by/2.0/" target="_blank" rel="nofollow"><img data-recalc-dims="1" decoding="async" src="https://i0.wp.com/psyopsprime.com/wp-content/plugins/wp-inject/images/cc.png?w=750" /></a></small></p>The post <a href="https://psyopsprime.com/education/junit-resources/">JUnit Resources</a> first appeared on <a href="https://psyopsprime.com">Psyops Prime</a>.]]></content:encoded>
					
					<wfw:commentRss>https://psyopsprime.com/education/junit-resources/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
				<creativeCommons:license>https://creativecommons.org/licenses/by-nc-nd/4.0/</creativeCommons:license>
<post-id xmlns="com-wordpress:feed-additions:1">1450</post-id>	</item>
	</channel>
</rss>
