<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/nunitforms/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/nunitforms/feature-requests/</id><updated>2010-06-20T18:28:41Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>MessageBoxTester missing members</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/16/" rel="alternate"/><published>2010-06-20T18:28:41Z</published><updated>2010-06-20T18:28:41Z</updated><author><name>Simon Bridewell</name><uri>https://sourceforge.net/u/sbridewell/</uri></author><id>https://sourceforge.netaeb5b8ce7236fd81b116e26261e3cc551cf08209</id><summary type="html">&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;</summary></entry><entry><title>NumericUpDown control tester</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/15/" rel="alternate"/><published>2007-09-09T08:12:14Z</published><updated>2007-09-09T08:12:14Z</updated><author><name>Rob Smyth</name><uri>https://sourceforge.net/u/robsmyth/</uri></author><id>https://sourceforge.net88b4ae121c7a7a4211946691ad75260b77d41130</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Add a tester for System.Windows.Forms.NumbericUpDown control.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ModalFormTester inteface change</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/14/" rel="alternate"/><published>2007-08-30T20:47:24Z</published><updated>2007-08-30T20:47:24Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete851f4f59c705511792649384fd01d3019fcc64b</id><summary type="html">&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;</summary></entry><entry><title>ModalFormTester.ExpectModal overlaod for function names</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/13/" rel="alternate"/><published>2007-08-30T16:08:53Z</published><updated>2007-08-30T16:08:53Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net3dc571f3c1b15e38e1381d8e72f922318c2b3d39</id><summary type="html">&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;</summary></entry><entry><title>Multiple construcotors make the Recorder crash</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/12/" rel="alternate"/><published>2007-02-01T22:24:14Z</published><updated>2007-02-01T22:24:14Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.nete5fa09021616848c091392be3da7dec75577a8c4</id><summary type="html">&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;</summary></entry><entry><title>New API in .NET 3.0</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/11/" rel="alternate"/><published>2006-10-12T08:25:32Z</published><updated>2006-10-12T08:25:32Z</updated><author><name>Konstantin Samsonov</name><uri>https://sourceforge.net/u/userid-1569706/</uri></author><id>https://sourceforge.net43dc48ec3273319436ec6f22cf9cd33779982594</id><summary type="html">&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;</summary></entry><entry><title>Support for .NET 2.0 menu strips</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/10/" rel="alternate"/><published>2006-08-28T13:30:34Z</published><updated>2006-08-28T13:30:34Z</updated><author><name>adorjan</name><uri>https://sourceforge.net/u/adorjan/</uri></author><id>https://sourceforge.net3a83108610c53c84159ef7f187073897e48ebfab</id><summary type="html">&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;</summary></entry><entry><title>New design project</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/9/" rel="alternate"/><published>2006-08-06T16:22:59Z</published><updated>2006-08-06T16:22:59Z</updated><author><name>Konstantin Samsonov</name><uri>https://sourceforge.net/u/userid-1569706/</uri></author><id>https://sourceforge.net93581aff5eccf32bbb22e6e17d067dddc171b42f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry for VB&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Interface Promoute</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/8/" rel="alternate"/><published>2006-08-06T09:43:24Z</published><updated>2006-08-06T09:43:24Z</updated><author><name>Konstantin Samsonov</name><uri>https://sourceforge.net/u/userid-1569706/</uri></author><id>https://sourceforge.net5eafda01f9a93bc5480639fc1d7f23977fe5e53c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See File Attached for new design Recorder Utility&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fast adding VB scripting</title><link href="https://sourceforge.net/p/nunitforms/feature-requests/7/" rel="alternate"/><published>2006-08-06T09:28:25Z</published><updated>2006-08-06T09:28:25Z</updated><author><name>Konstantin Samsonov</name><uri>https://sourceforge.net/u/userid-1569706/</uri></author><id>https://sourceforge.net03e5b04aab3f87551c39b93bf73528ece3c5edd0</id><summary type="html">&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;</summary></entry></feed>