<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Nunit on Aby George A</title><link>https://abygeorgea.com/categories/nunit/</link><description>Recent content in Nunit on Aby George A</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sun, 05 Mar 2017 20:58:13 +1100</lastBuildDate><atom:link href="https://abygeorgea.com/categories/nunit/index.xml" rel="self" type="application/rss+xml"/><item><title>Creating HTML report for test execution result</title><link>https://abygeorgea.com/blog/2017/03/05/creating-html-report-for-test-execution-result/</link><pubDate>Sun, 05 Mar 2017 20:58:13 +1100</pubDate><guid>https://abygeorgea.com/blog/2017/03/05/creating-html-report-for-test-execution-result/</guid><description>How to create HTML report for test execution result</description></item><item><title>Running Specflow Test from command line using Nunit</title><link>https://abygeorgea.com/blog/2017/03/04/running-specflow-test-from-command-line-using-nunit/</link><pubDate>Sat, 04 Mar 2017 20:39:59 +1100</pubDate><guid>https://abygeorgea.com/blog/2017/03/04/running-specflow-test-from-command-line-using-nunit/</guid><description>How to run specflow test cases from command line</description></item><item><title>Nunit Assert</title><link>https://abygeorgea.com/blog/2016/08/22/nunit-assert/</link><pubDate>Mon, 22 Aug 2016 20:55:39 +1000</pubDate><guid>https://abygeorgea.com/blog/2016/08/22/nunit-assert/</guid><description>&lt;h2 id="assertareequal-vs-assertaresame"&gt;Assert.AreEqual vs Assert.AreSame&lt;/h2&gt;
&lt;p&gt;Very frequently I use Assert.AreEqual and Assert.AreSame for doing assertions in the code. Below is high level difference between both.&lt;/p&gt;
&lt;h3 id="assertaresame"&gt;Assert.AreSame&lt;/h3&gt;
&lt;p&gt;Assert.AreSame checks whether both comparing objects are exactly the same ( reference indicate same object in memory) .It is normally known as Reference Equality&lt;/p&gt;
&lt;h3 id="assertareequal"&gt;Assert.AreEqual&lt;/h3&gt;
&lt;p&gt;Assert.AreEqual checks whether both objects contain same value. It is normally known as Value Equality. For primitive value types ( like int, bool) this is straight forward. But for other types ( especially user defined objects) , it is depends on how the type defines equality.&lt;/p&gt;</description></item></channel></rss>