<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/nunitforms/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/nunitforms/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 20 Jun 2010 18:28:41 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nunitforms/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>MessageBoxTester missing members</title><link>https://sourceforge.net/p/nunitforms/feature-requests/16/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I think the MessageBoxTester could do with some new members. For example, the ability to retrieve the MessageBox's MessageBoxIcon, MessageBoxButtons, MessageBoxDefaultButton, and the DialogResult that it returns once one of its buttons has been clicked.&lt;/p&gt;
&lt;p&gt;I also notice that while it has ClickOk and ClickCancel methods, there is no way to tell it to click the Yes, No, Abort, Cancel or Retry buttons. So if my test brings up a MessageBox which doesn't have a Cancel or OK button, either I need to click the button myself (if I've overridden the UseHidden property to return false) or my test hangs waiting for someone to click a button which nobody can see.&lt;/p&gt;
&lt;p&gt;For an example of what I mean, take a look at &lt;a href="http://commonforms.svn.sourceforge.net/viewvc/commonforms/CommonForms/CleverMessageBox.cs?revision=21&amp;amp;view=markup"&gt;http://commonforms.svn.sourceforge.net/viewvc/commonforms/CommonForms/CleverMessageBox.cs?revision=21&amp;amp;view=markup&lt;/a&gt; (the class being tested) and &lt;a href="http://commonforms.svn.sourceforge.net/viewvc/commonforms/CommonForms.Example/NUnitTests/CleverMessageBoxTest.cs?revision=21&amp;amp;view=markup"&gt;http://commonforms.svn.sourceforge.net/viewvc/commonforms/CommonForms.Example/NUnitTests/CleverMessageBoxTest.cs?revision=21&amp;amp;view=markup&lt;/a&gt; (the test fixture).&lt;/p&gt;
&lt;p&gt;I've only just discovered this project and it looks like it can take a lot of the pain out of unit testing winforms classes. Keep up the good work :-)&lt;/p&gt;
&lt;p&gt;Simon.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Simon Bridewell</dc:creator><pubDate>Sun, 20 Jun 2010 18:28:41 -0000</pubDate><guid>https://sourceforge.netaeb5b8ce7236fd81b116e26261e3cc551cf08209</guid></item><item><title>NumericUpDown control tester</title><link>https://sourceforge.net/p/nunitforms/feature-requests/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Add a tester for System.Windows.Forms.NumbericUpDown control.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Smyth</dc:creator><pubDate>Sun, 09 Sep 2007 08:12:14 -0000</pubDate><guid>https://sourceforge.net88b4ae121c7a7a4211946691ad75260b77d41130</guid></item><item><title>ModalFormTester inteface change</title><link>https://sourceforge.net/p/nunitforms/feature-requests/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Suggest changing ModalFormTester interface.  Change "ExpectModal()" method to something like "RegisterModalFormHandler()".  This method would no longer accept an "expected" bool.  Also, replace "Verify()" with "Invoked()". &lt;/p&gt;
&lt;p&gt;My argument is that all assertions should be done by NUnit's Assert utilities.  The Verify() function performs a redundant assertion.&lt;/p&gt;
&lt;p&gt;For example:&lt;br /&gt;
ModalFormTester modalTester = new ModalFormTester();&lt;br /&gt;
modalTester.ExpectModal("SomeMessageBox", "SomeHandler", false);&lt;br /&gt;
Assert.IsTrue(modalTester.Verify());&lt;/p&gt;
&lt;p&gt;This could also be written as:&lt;br /&gt;
ModalFormTester modalTester = new ModalFormTester();&lt;br /&gt;
modalTester.ExpectModal("SomeMessageBox", "SomeHandler");&lt;br /&gt;
Assert.IsFalse(modalTester.Verify());&lt;/p&gt;
&lt;p&gt;The redundancy is that Verify() asserts whether the expectations was met.  Then Assert also checks that expectation.&lt;/p&gt;
&lt;p&gt;This would be cleaner and there is one clear way to use it instead of two:&lt;br /&gt;
ModalFormTester modalTester = new ModalFormTester();&lt;br /&gt;
modalTester.ExpectModal("SomeMessageBox", "SomeHandler");&lt;br /&gt;
Assert.IsFalse(modalTester.Invoked());&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 30 Aug 2007 20:47:24 -0000</pubDate><guid>https://sourceforge.nete851f4f59c705511792649384fd01d3019fcc64b</guid></item><item><title>ModalFormTester.ExpectModal overlaod for function names</title><link>https://sourceforge.net/p/nunitforms/feature-requests/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Suggest moving the ExpectModal(string, string [, bool]) overloads from NUnitForms to ModalFormTester.  This will allow users to create their own ModalFormTesters but still have the convenience of using ExpectModal with function names instead of Delegates.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 30 Aug 2007 16:08:53 -0000</pubDate><guid>https://sourceforge.net3dc571f3c1b15e38e1381d8e72f922318c2b3d39</guid></item><item><title>Multiple construcotors make the Recorder crash</title><link>https://sourceforge.net/p/nunitforms/feature-requests/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The recorder crashes when trying to open forms with multiple constructors (additional constructors with parameters)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 01 Feb 2007 22:24:14 -0000</pubDate><guid>https://sourceforge.nete5fa09021616848c091392be3da7dec75577a8c4</guid></item><item><title>New API in .NET 3.0</title><link>https://sourceforge.net/p/nunitforms/feature-requests/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="http://windowssdk.msdn.microsoft.com/en-" rel="nofollow"&gt;http://windowssdk.msdn.microsoft.com/en-&lt;/a&gt;&lt;br /&gt;
us/library/ms747327.aspx&lt;/p&gt;
&lt;p&gt;Easy and powerfull for GUI testing.&lt;/p&gt;
&lt;p&gt;You have a plans to use it?&lt;/p&gt;
&lt;p&gt;kOSt&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konstantin Samsonov</dc:creator><pubDate>Thu, 12 Oct 2006 08:25:32 -0000</pubDate><guid>https://sourceforge.net43dc48ec3273319436ec6f22cf9cd33779982594</guid></item><item><title>Support for .NET 2.0 menu strips</title><link>https://sourceforge.net/p/nunitforms/feature-requests/10/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The current MenuItemFinder is unable to find menu &lt;br /&gt;
items in the .NET 2.0 menu strips.  Is there an ETA &lt;br /&gt;
for when this will be added?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;br /&gt;
Adam&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">adorjan</dc:creator><pubDate>Mon, 28 Aug 2006 13:30:34 -0000</pubDate><guid>https://sourceforge.net3a83108610c53c84159ef7f187073897e48ebfab</guid></item><item><title>New design project</title><link>https://sourceforge.net/p/nunitforms/feature-requests/9/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for VB&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konstantin Samsonov</dc:creator><pubDate>Sun, 06 Aug 2006 16:22:59 -0000</pubDate><guid>https://sourceforge.net93581aff5eccf32bbb22e6e17d067dddc171b42f</guid></item><item><title>Interface Promoute</title><link>https://sourceforge.net/p/nunitforms/feature-requests/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;See File Attached for new design Recorder Utility&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konstantin Samsonov</dc:creator><pubDate>Sun, 06 Aug 2006 09:43:24 -0000</pubDate><guid>https://sourceforge.net5eafda01f9a93bc5480639fc1d7f23977fe5e53c</guid></item><item><title>Fast adding VB scripting</title><link>https://sourceforge.net/p/nunitforms/feature-requests/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;May be tolk about this with buddie form &lt;br /&gt;
&lt;a href="http://www.kamalpatel.net/" rel="nofollow"&gt;http://www.kamalpatel.net/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It has a library with which and zero forces users can &lt;br /&gt;
select VB or C# &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Konstantin Samsonov</dc:creator><pubDate>Sun, 06 Aug 2006 09:28:25 -0000</pubDate><guid>https://sourceforge.net03e5b04aab3f87551c39b93bf73528ece3c5edd0</guid></item></channel></rss>