<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>WinUnit</title><link>http://winunit.codeplex.com/project/feeds/rss</link><description>WinUnit offers a unique approach to unit testing native C&amp;#47;C&amp;#43;&amp;#43; programs on Windows.  Your test binaries are regular DLLs containing only your tests--extremely easy to write and automate.  As seen in MSDN Magazine.</description><item><title>New Comment on "Create your first test project"</title><link>http://winunit.codeplex.com/wikipage?title=Create your first test project&amp;ANCHOR#C25614</link><description>Try using the x86 Winunit.exe instead of the 64 bit version.</description><author>rdawson999</author><pubDate>Fri, 16 Nov 2012 16:41:56 GMT</pubDate><guid isPermaLink="false">New Comment on "Create your first test project" 20121116044156P</guid></item><item><title>Commented Issue: Feature Request: Create a Visual Studio Add-in [9733]</title><link>http://winunit.codeplex.com/workitem/9733</link><description>&amp;#60;p&amp;#62;I&amp;#38;&amp;#35;39&amp;#59;d like to request that a WinUnit Visual Studio Add-in be created so that unit testing can be integrated with the IDE similar to mstest unit test integration.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;For example, here is an add-in for google&amp;#38;&amp;#35;39&amp;#59;s test framework&amp;#58; http&amp;#58;&amp;#47;&amp;#47;googletestaddin.codeplex.com.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;It adds three buttons and three items to the code context menu&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Execute all test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Execute the selected test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Debug the selected test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: icnocop ** &lt;p&gt;@smibe, Thank you very much for the link! :D&lt;/p&gt;</description><author>icnocop</author><pubDate>Thu, 11 Oct 2012 01:04:49 GMT</pubDate><guid isPermaLink="false">Commented Issue: Feature Request: Create a Visual Studio Add-in [9733] 20121011010449A</guid></item><item><title>Commented Issue: Feature Request: Create a Visual Studio Add-in [9733]</title><link>http://winunit.codeplex.com/workitem/9733</link><description>&amp;#60;p&amp;#62;I&amp;#38;&amp;#35;39&amp;#59;d like to request that a WinUnit Visual Studio Add-in be created so that unit testing can be integrated with the IDE similar to mstest unit test integration.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;For example, here is an add-in for google&amp;#38;&amp;#35;39&amp;#59;s test framework&amp;#58; http&amp;#58;&amp;#47;&amp;#47;googletestaddin.codeplex.com.&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;nbsp&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;It adds three buttons and three items to the code context menu&amp;#58;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Execute all test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Execute the selected test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&amp;#60;p&amp;#62;&amp;#38;quot&amp;#59;Debug the selected test&amp;#38;quot&amp;#59;&amp;#60;&amp;#47;p&amp;#62;&lt;br /&gt;&lt;br /&gt;Comments: ** Comment from web user: smibe ** &lt;p&gt;There is VisualAssert (http://www.visualassert.com/unit-testing-framework/) which can be used to run tests.&lt;/p&gt;</description><author>smibe</author><pubDate>Wed, 10 Oct 2012 14:32:40 GMT</pubDate><guid isPermaLink="false">Commented Issue: Feature Request: Create a Visual Studio Add-in [9733] 20121010023240P</guid></item><item><title>Source code checked in, #80132</title><link>http://winunit.codeplex.com/SourceControl/changeset/changes/80132</link><description>Upgrade&amp;#58; New Version of LabDefaultTemplate.xaml. To upgrade your build definitions, please visit the following link&amp;#58; http&amp;#58;&amp;#47;&amp;#47;go.microsoft.com&amp;#47;fwlink&amp;#47;&amp;#63;LinkId&amp;#61;254563</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:49:39 GMT</pubDate><guid isPermaLink="false">Source code checked in, #80132 20121001094939P</guid></item><item><title>Source code checked in, #80131</title><link>http://winunit.codeplex.com/SourceControl/changeset/changes/80131</link><description>Checked in by server upgrade</description><author>Project Collection Service Accounts</author><pubDate>Mon, 01 Oct 2012 21:43:10 GMT</pubDate><guid isPermaLink="false">Source code checked in, #80131 20121001094310P</guid></item><item><title>Reviewed: WinUnit 1.2.0909.1 (Sep 24, 2012)</title><link>http://winunit.codeplex.com/releases/view/32393#ReviewBy-hansrwindhoff</link><description>Rated 5 Stars &amp;#40;out of 5&amp;#41; - Very nice, light weight and power full. Easy to use.</description><author>hansrwindhoff</author><pubDate>Mon, 24 Sep 2012 16:04:54 GMT</pubDate><guid isPermaLink="false">Reviewed: WinUnit 1.2.0909.1 (Sep 24, 2012) 20120924040454P</guid></item><item><title>New Comment on "Create your first test project"</title><link>http://winunit.codeplex.com/wikipage?title=Create your first test project&amp;ANCHOR#C25042</link><description>I am getting LoadLibraryW failed  - no tests were run.  Has anyone else gotten this&amp;#63;</description><author>Macpeters</author><pubDate>Thu, 20 Sep 2012 00:05:33 GMT</pubDate><guid isPermaLink="false">New Comment on "Create your first test project" 20120920120533A</guid></item><item><title>New Post: The new "Native Unit Test Project" in Visual Studio 11</title><link>http://winunit.codeplex.com/discussions/348074</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;I noticed there is a new &amp;ldquo;Native Unit Test Project&amp;rdquo; in Visual Studio 11 Developer Preview\Beta&lt;/p&gt;
&lt;p&gt;Here is some preliminary documentation on msdn:&lt;/p&gt;
&lt;p&gt;Unit testing native code with Unit Test Explorer&lt;/p&gt;
&lt;p&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/hh270864%28v=vs.110%29.aspx"&gt;http://msdn.microsoft.com/en-us/library/hh270864%28v=vs.110%29.aspx&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Sat, 10 Mar 2012 05:42:29 GMT</pubDate><guid isPermaLink="false">New Post: The new "Native Unit Test Project" in Visual Studio 11 20120310054229A</guid></item><item><title>Created Issue: Feature Request: automatically display the datetime started and duration of unit tests [9790]</title><link>http://winunit.codeplex.com/workitem/9790</link><description>I&amp;#39;d like to request that WinUnit automatically display the datetime each unit test was started and its duration.  Also, the combined timespan for the duration of all the tests would also be nice.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;</description><author>icnocop</author><pubDate>Sat, 07 Jan 2012 19:44:16 GMT</pubDate><guid isPermaLink="false">Created Issue: Feature Request: automatically display the datetime started and duration of unit tests [9790] 20120107074416P</guid></item><item><title>Created Issue: Feature Request: Create a Visual Studio Add-in [9733]</title><link>http://winunit.codeplex.com/workitem/9733</link><description>I&amp;#39;d like to request that a WinUnit Visual Studio Add-in be created so that unit testing can be integrated with the IDE similar to mstest unit test integration.&lt;br /&gt;&lt;br /&gt;For example, Here is an add-in for google&amp;#39;s test framework&amp;#58; http&amp;#58;&amp;#47;&amp;#47;googletestaddin.codeplex.com.&lt;br /&gt;&lt;br /&gt;It adds three buttons and three items to the code context menu&amp;#58;&lt;br /&gt;&amp;#34;Execute all test&amp;#34;&lt;br /&gt;&amp;#34;Execute the selected test&amp;#34;&lt;br /&gt;&amp;#34;Debug the selected test&amp;#34;&lt;br /&gt;</description><author>icnocop</author><pubDate>Tue, 20 Dec 2011 01:42:53 GMT</pubDate><guid isPermaLink="false">Created Issue: Feature Request: Create a Visual Studio Add-in [9733] 20111220014253A</guid></item><item><title>New Post: using WinUnit and registration free COM activation</title><link>http://winunit.codeplex.com/discussions/261696</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I asked the question on StackOverflow here:&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank"&gt;http://stackoverflow.com/questions/6393865/registration-free-com-without-copying-the-dll-to-the-same-directory-as-the-execut&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 01 Jul 2011 19:53:35 GMT</pubDate><guid isPermaLink="false">New Post: using WinUnit and registration free COM activation 20110701075335P</guid></item><item><title>New Post: using WinUnit and registration free COM activation</title><link>http://winunit.codeplex.com/discussions/261696</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I got this to work by following the guide here:&lt;/p&gt;
&lt;p&gt;http://www.mazecomputer.com/sxs/help/sxsapi3.htm&lt;/p&gt;
&lt;p&gt;And also example code from vvvsample here:&lt;/p&gt;
&lt;p&gt;http://msf.codeplex.com/&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is only one caveat: I have to copy the COM dll to the same directory as WinUnit.exe.&lt;/p&gt;
&lt;p&gt;I am currently passing the full path of the external manifest and the full path of the test directory to CActCtxHandle.Create() (ex. "C:\MyCppTests\Release\MyCppTests.dll.manifest" and "C:\MyCppTests\Release" respectively).&lt;/p&gt;
&lt;p&gt;The COM dll also resides in "C:\MyCppTests\Release" but WinUnit.exe resides in a different directory (ex. "C:\WinUnit").&lt;/p&gt;
&lt;p&gt;Any ideas?&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Fri, 17 Jun 2011 03:46:18 GMT</pubDate><guid isPermaLink="false">New Post: using WinUnit and registration free COM activation 20110617034618A</guid></item><item><title>Created Issue: Feature Request: return a non-zero exit code if LoadLibraryW fails and\or if no tests were run [8805]</title><link>http://winunit.codeplex.com/workitem/8805</link><description>Hi.&lt;br /&gt;&lt;br /&gt;Thank you for WinUnit 1.2.0909.1.&lt;br /&gt;&lt;br /&gt;I would like to request that WinUnit.exe return a non-zero exit code if LoadLibraryW fails andor&amp;#92; no tests were run to indicate an error&amp;#92;failure.&lt;br /&gt;&lt;br /&gt;For example, if I create a dll with an invalid manifest file and pass it to WinUnit.exe, i get the following output&amp;#58;&lt;br /&gt;&lt;br /&gt;WinUnit.exe -n MyCppTests.dll&lt;br /&gt;Processing &amp;#91;MyCppTests.dll&amp;#93;...&lt;br /&gt;&amp;#91;WinUnit&amp;#93; WinUnitLib&amp;#58;&amp;#58;TestModule&amp;#58;&amp;#58;GetModule&amp;#58; LoadLibraryW failed on C&amp;#58;&amp;#92;MyCppTests&amp;#92;MyCppTests.dll. &lt;br /&gt;&amp;#91;MyCppTests.dll&amp;#93; No tests were run.&lt;br /&gt;&lt;br /&gt;No tests were found.&lt;br /&gt;&lt;br /&gt;However, WinUnit.exe exits with a 0 return code, which is not expected.  I expected it to be non-zero to indicate an error&amp;#92;failure.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;</description><author>icnocop</author><pubDate>Fri, 17 Jun 2011 02:07:33 GMT</pubDate><guid isPermaLink="false">Created Issue: Feature Request: return a non-zero exit code if LoadLibraryW fails and\or if no tests were run [8805] 20110617020733A</guid></item><item><title>New Post: using WinUnit and registration free COM activation</title><link>http://winunit.codeplex.com/discussions/261696</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I found another answer that indicates it is possible in one of two ways:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/1770463/how-to-do-registration-free-com-in-a-plug-in-architecture" target="_blank"&gt;http://stackoverflow.com/questions/1770463/how-to-do-registration-free-com-in-a-plug-in-architecture&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 16 Jun 2011 22:58:38 GMT</pubDate><guid isPermaLink="false">New Post: using WinUnit and registration free COM activation 20110616105838P</guid></item><item><title>New Post: using WinUnit and registration free COM activation</title><link>http://winunit.codeplex.com/discussions/261696</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;I found an answer that indicates this is not possible:&lt;/p&gt;
&lt;p&gt;http://stackoverflow.com/questions/4935536/nunit-test-with-fortran-dll&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 16 Jun 2011 22:52:44 GMT</pubDate><guid isPermaLink="false">New Post: using WinUnit and registration free COM activation 20110616105244P</guid></item><item><title>New Post: using WinUnit and registration free COM activation</title><link>http://winunit.codeplex.com/discussions/261696</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I am trying to create a unit test that instantiates a COM object using registration free (reg-free) activation.&lt;/p&gt;
&lt;p&gt;Is this possible without modifying WinUnit.exe or creating WinUnit.exe.manifest for example?&lt;/p&gt;
&lt;p&gt;WinUnit &lt;span id="TitleLabel"&gt;1.2.0909.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 16 Jun 2011 21:10:07 GMT</pubDate><guid isPermaLink="false">New Post: using WinUnit and registration free COM activation 20110616091007P</guid></item><item><title>New Post: Using winUnit for .c files</title><link>http://winunit.codeplex.com/discussions/259711</link><description>&lt;div style="line-height: normal;"&gt;
&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;I have been searching on how to use WinUnit for .c files.&lt;/p&gt;
&lt;p&gt;But, all the documentations that I came across were C&amp;#43;&amp;#43; files.&lt;/p&gt;
&lt;p&gt;Are there any documentations on how to use WinUnit for .c files?&lt;/p&gt;
&lt;p&gt;Are there specific Macros used for .c files?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;/div&gt;</description><author>kriscsc09</author><pubDate>Wed, 01 Jun 2011 02:54:31 GMT</pubDate><guid isPermaLink="false">New Post: Using winUnit for .c files 20110601025431A</guid></item><item><title>New Post: testing a MFC-Dll with com and serialisation</title><link>http://winunit.codeplex.com/discussions/250097</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;Calling CoInitialize and AFX_MANAGE_STATE(AfxGetStaticModuleState()); is application specific.&lt;/p&gt;
&lt;p&gt;You can always create your own methods\macros that wrap around the winunit macros so that they call your application specific functions.&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 31 Mar 2011 19:39:59 GMT</pubDate><guid isPermaLink="false">New Post: testing a MFC-Dll with com and serialisation 20110331073959P</guid></item><item><title>New Post: step by step</title><link>http://winunit.codeplex.com/discussions/236473</link><description>&lt;div style="line-height: normal;"&gt;&lt;p&gt;There is a link on the home page.&lt;/p&gt;
&lt;p&gt;Getting Started &amp;gt; "Create your first test project"&lt;/p&gt;
&lt;p&gt;http://winunit.codeplex.com/wikipage?title=Create%20your%20first%20test%20project&amp;amp;referringTitle=Home&lt;/p&gt;&lt;/div&gt;</description><author>icnocop</author><pubDate>Thu, 31 Mar 2011 19:37:50 GMT</pubDate><guid isPermaLink="false">New Post: step by step 20110331073750P</guid></item><item><title>Commented Feature: Provide a project template to support CRT debugging features [4220]</title><link>http://winunit.codeplex.com/workitem/4220</link><description>There have been suggested to support the Debug CRT for detecting memory leaks.  Basically it requires two modifications the the test dll project.&lt;br /&gt; &lt;br /&gt; First, add the following lines to the test dll&amp;#39;s stdafx.h file&amp;#58;&lt;br /&gt;&amp;#35;define _CRTDBG_MAP_ALLOC&lt;br /&gt;&amp;#35;include &amp;#60;crtdbg.h&amp;#62;&lt;br /&gt; &lt;br /&gt;And second, insert the following as the first line in the test dll&amp;#39;s main .cpp dll file&amp;#58;&lt;br /&gt; _CrtSetDbgFlag&amp;#40; _CRTDBG_ALLOC_MEM_DF &amp;#124; _CRTDBG_LEAK_CHECK_DF&amp;#41;&amp;#59;&lt;br /&gt; &lt;br /&gt; &lt;br /&gt;e.g., &lt;br /&gt; &lt;br /&gt;int _tmain&amp;#40;int argc, TCHAR&amp;#42; argv&amp;#91;&amp;#93;, TCHAR&amp;#42; envp&amp;#91;&amp;#93;&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt; _CrtSetDbgFlag&amp;#40; _CRTDBG_ALLOC_MEM_DF &amp;#124; _CRTDBG_LEAK_CHECK_DF&amp;#41;&amp;#59;&lt;br /&gt; int nRetCode &amp;#61; 0&amp;#59;&lt;br /&gt; &lt;br /&gt;.&lt;br /&gt;Comments: ** Comment from web user: icnocop ** &lt;p&gt;_tmain is an entry point for an application, not a dll.&lt;/p&gt;&lt;p&gt;I followed the steps here&amp;#58;&lt;br /&gt;Finding Memory Leaks Using the CRT Library&lt;br /&gt;http&amp;#58;&amp;#47;&amp;#47;msdn.microsoft.com&amp;#47;en-us&amp;#47;library&amp;#47;x98tx3cf.aspx&lt;/p&gt;&lt;p&gt;I called &amp;#34;_CrtSetDbgFlag &amp;#40; _CRTDBG_ALLOC_MEM_DF &amp;#124; _CRTDBG_LEAK_CHECK_DF &amp;#41;&amp;#59;&amp;#34; within BEGIN_TEST&amp;#40;&amp;#41;&amp;#123; ... &amp;#125;END_TEST but could not get the file and the line number where the leaked memory is first allocated.&lt;/p&gt;&lt;p&gt;Any ideas&amp;#63;&lt;/p&gt;&lt;p&gt;Thank you.&lt;/p&gt;</description><author>icnocop</author><pubDate>Thu, 31 Mar 2011 03:08:57 GMT</pubDate><guid isPermaLink="false">Commented Feature: Provide a project template to support CRT debugging features [4220] 20110331030857A</guid></item></channel></rss>