This would work for requirements document too :) Thanks SimpleGeek for the link (i would insert a link to your blog if you had one due)
SCIgen - An Automatic CS Paper Generator
April 15, 2005
April 14, 2005
I'm back (sort of)
I made it out to the Hyland Hills driving range yesterday. I was a good boy and kept it pretty low-key, but it was excellent being out and swinging the club again! My post-op protocol says I can play 9 holes during phase IV (3 months after surgery), so this means I will get to play WAY more than I thought this summer!
jk
jk
Window Driver - a .Net perspective
Testing is goodness. Writing tests for the data access layer and business object layer are commonplace and sometimes even generated! However, testing UI components has often been more difficult to accomplish; screen scraping and tracking mouse clicks dissappoints. Inspired by Mr. Fowler's article, Window Driver, I attempted to do something similiar for my current project.
First, I took the ultra-simple approach of making the controls public, and then accessing them from the unit test code. However, this implement breaks encapsulation and feels 'dirty'. John suggested Reflection. Reflection is good clean fun, so I started down that path, and then realized, that every class that derives from System.Windows.Forms.Control (Form, UserControl...) exposes a public controls collection! so................
So, hopefully this helps and inspires someone else! Test first baby!
jk
First, I took the ultra-simple approach of making the controls public, and then accessing them from the unit test code. However, this implement breaks encapsulation and feels 'dirty'. John suggested Reflection. Reflection is good clean fun, so I started down that path, and then realized, that every class that derives from System.Windows.Forms.Control (Form, UserControl...) exposes a public controls collection! so................
[Test]
public void MyUITest()
{
MyForm form = new MyForm();
ComboBox combo1 = GetControl(form, "combo1") as ComboBox;
Assert.IsNotNull(combo1);
Assert.AreEqual(combo1.SelectedValue, "somevalue");
//TODO party on the combo1 control
}
private Control GetControl(Control parent, string name)
{
foreach(Control c in parent.Controls)
{
if(name == c.Name)
return c;
}
return null;
}
So, hopefully this helps and inspires someone else! Test first baby!
jk
BS from Lounsberry: MN 2005
The honor was our's buddy!
It was a great weekend, and I know Tricia and I are really looking forward to the return trip to the greater Seattle area later this year.
In further Seattle news, I just heard Nate McMillian won NBA coach of the year, so congrats to Nate! I always enjoyed watching him play (from afar in MN); he seems like a good guy and I always enjoy seeing 'good guys' succeed. :)
The hightlight of the weekend was probably the Gameworkd dance-off @ 1:30am between Dan, Brian and Ryan. Thank goodness that I have a bum knee and had an excuse not to participate! :) :)
jk
It was a great weekend, and I know Tricia and I are really looking forward to the return trip to the greater Seattle area later this year.
In further Seattle news, I just heard Nate McMillian won NBA coach of the year, so congrats to Nate! I always enjoyed watching him play (from afar in MN); he seems like a good guy and I always enjoy seeing 'good guys' succeed. :)
The hightlight of the weekend was probably the Gameworkd dance-off @ 1:30am between Dan, Brian and Ryan. Thank goodness that I have a bum knee and had an excuse not to participate! :) :)
jk
April 07, 2005
The power of Bloggestion
April 06, 2005
Master's TV coverage
Here's the Master's TV schedule on USA and CBS. Since I'm off friday, I'm hoping to catch some coverage that I would not normally get to see. Someday, I will be watching in person...:)
jk
jk
April 05, 2005
Phil defends...Master's week is here
The Masters starts thursday. Good luck to Mr. Mickelson in defending his title!
I'm also glad to hear that Mr. Nicklaus has decided to play as well. I hope the Golden Bear makes the cut!
I'm also glad to hear that Mr. Nicklaus has decided to play as well. I hope the Golden Bear makes the cut!
April 04, 2005
April 01, 2005
blouns is coming to a town near you (if you live in Minneapolis)
Brian is coming! I forsee a lot of beer in our future!
Things you can wear on casual fridays
Mork found these: good, clean fun...
Still, my personal favorite is from the good people at Net Objectives. I still wear mine with pride!
Still, my personal favorite is from the good people at Net Objectives. I still wear mine with pride!
Subscribe to:
Posts (Atom)