Search the web
Sign In
New User? Sign Up
TestFirstUserInterfaces
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 843 - 872 of 1051   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
843
Hi All, Recently on the NUnit list someone emailed in trying to figure out how to test "private void" methods. Turns out they were wanting to test an event...
Cory Foy
cory_foy
Offline Send Email
Nov 4, 2005
4:33 pm
844
... Great post! If you're going to add a configuration item to influence which IFontDialog that the FontDialogFactory will create, why not just put the class...
Scott Bellware
sbellware
Offline Send Email
Nov 4, 2005
6:12 pm
845
Hi Cory, Nice post and a nice blog. I added it to my Bloglines list :). ... This whole factory and configuration thing looks a bit too much to me. I usually do...
Hristo Deshev
madmuncho
Offline Send Email
Nov 4, 2005
7:44 pm
846
... Cory ... my initial feedback is that on my laptop, running Maxthon/IE, the code font is pink on white, and very tiny. I'll try to read through and offer...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Nov 5, 2005
2:29 am
847
... Looks nice ... it felt a little less test-driven than I was comfortable with, but I don't see a way around that. In the FontFactory, I might have had the...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Nov 5, 2005
3:38 am
848
... I just posted an entry on my blog about this, describing what I would do differently: http://www.livejournal.com/users/anthony_w/8000.html The key...
Anthony Williams
anthony_w.geo
Offline Send Email
Nov 7, 2005
11:25 am
849
Hi, I recently added a new type of dynamic mock to NMock. The mock was originally designed to mock out some remoted classes, but works with any...
Tim Haughton
haughtontim
Offline Send Email
Nov 7, 2005
1:37 pm
850
... Hi Anthony, Two points about your approach. I notice your form.menuItem15_Click(null, null); is still private on your MyForm class. And you should be able...
Ed Howland
ulysees2001
Offline Send Email
Nov 7, 2005
2:37 pm
851
... Absolutely. I left the implementation of MockFontSelector as an exercise for the reader, since it's not really relevant to the idea. If you generally use a...
Anthony Williams
anthony_w.geo
Offline Send Email
Nov 7, 2005
3:17 pm
852
hi anthony, ... just to play devil's advocate here: - it now looks like all of the functionality has been extracted to the SelectFontUsingFontDialog class. so...
Owen Rogers
exortech@...
Send Email
Nov 8, 2005
6:03 am
853
... I love this concept! Cory...
Cory Foy
cory_foy
Offline Send Email
Nov 8, 2005
7:15 am
854
... Hi Anthony, Thanks for the feedback. Extracting out the presentation and business logic is almost always going to create better testable solutions. So I ...
Cory Foy
cory_foy
Offline Send Email
Nov 8, 2005
7:15 am
855
... Well, there was a specific reason I chose that way. Currently we're dealing with a big legacy C# Winform app. It acheived "customization" through a giant...
Cory Foy
cory_foy
Offline Send Email
Nov 8, 2005
7:16 am
856
... Hi Owen, ... The original design had two aspects to test --- did the menu click ask the user for a new font, and did the font get changed to the new one....
Anthony Williams
anthony_w.geo
Offline Send Email
Nov 8, 2005
9:45 am
857
On 07/11/05, Anthony Williams <anthony_w.geo@...> wrote: Hi Anthony, ... If I may be so bold, I think yourself and Cory have missed a trick. I might be...
Tim Haughton
haughtontim
Offline Send Email
Nov 8, 2005
2:20 pm
858
... Looks nice ... I'd be better able to grok, with my limited time and capacity, if all the code, including whatever _Get is and the dynamic mock stuff, were...
Ron Jeffries
RonaldEJeffries
Offline Send Email
Nov 8, 2005
3:41 pm
859
... So, you're not using an interface, but rather a class with virtual methods, and you've extracted a second method from the first, so you can verify the ...
Anthony Williams
anthony_w.geo
Offline Send Email
Nov 8, 2005
4:02 pm
860
... agreed. ... what would this look like in code? how would you ensure that the modal dialog thread is properly in sync with the test thread? just curious...
Owen Rogers
exortech@...
Send Email
Nov 8, 2005
4:20 pm
861
hi tim, ... what would the tests look like for your collaborator? are FontDialogue and FontDialog the same class? how would we mock out methods on FontDialog...
Owen Rogers
exortech@...
Send Email
Nov 8, 2005
4:26 pm
862
... After playing around with Ruby a bit, I kinda got into the whole 'less complicated' code mindset. So my previous thought excursion into DI/IOC was way...
Ed Howland
ulysees2001
Offline Send Email
Nov 8, 2005
9:11 pm
863
... I'm currently writing one up. Hopefully I'll be able to post it tonight. I've stumbled across a really interesting mocking pattern whilst doing it. Cheers,...
Tim Haughton
haughtontim
Offline Send Email
Nov 9, 2005
1:57 pm
864
I've just uploaded an article and some source code to the TFUI files area: http://groups.yahoo.com/group/TestFirstUserInterfaces/files/ The article is entitled...
Tim Haughton
haughtontim
Offline Send Email
Nov 10, 2005
2:11 am
865
... Check out the article I just posted. It demonstrates how using the new mock I posted to the NMock list enabled 100% test coverage in that particular case....
Tim Haughton
haughtontim
Offline Send Email
Nov 10, 2005
7:13 pm
866
... Nope. Miniature manifesto. ... Test not structure but behavior. For internal code, don't test little support things like [] and {}. Test 'if', or...
Phlip
phlipcpp
Offline Send Email
Nov 15, 2005
2:04 pm
867
... Windows Forms might hit that limit quite early ;-) A ruthlessly effective way to test layout for HTML is to generate pure XHTML. Then capture it, and query...
Phlip
phlipcpp
Offline Send Email
Nov 15, 2005
2:22 pm
868
... It just hit me that we have a method in one of the classes of the legacy .NET app I'm working on that captures the entire layout of the controls on the...
Cory Foy
cory_foy
Offline Send Email
Nov 15, 2005
2:41 pm
869
... First? -- Phlip http://www.greencheese.org/ZeekLand <-- NOT a blog!!...
Phlip
phlipcpp
Offline Send Email
Nov 15, 2005
3:10 pm
870
... Of course! ;) I'm thinking of it more as some sort of an intermediary to a testing tool. It's a little foggy right now, I'll play with it and see what...
Cory Foy
cory_foy
Offline Send Email
Nov 15, 2005
3:23 pm
871
... You'd better give it a cool sounding name, like XAML, then patent it before....d'oh! Cheers, Tim...
Tim Haughton
haughtontim
Offline Send Email
Nov 15, 2005
6:07 pm
872
... Oh, is that what XAML is all about? I think I need a buzzword blog I can subscribe to. ;) Cory...
Cory Foy
cory_foy
Offline Send Email
Nov 15, 2005
6:12 pm
Messages 843 - 872 of 1051   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help