Tools
ui_test.txt
Associated article: Unit Testing the UI
Tags: .NET Tools Design
Published source code accompanying the article by Jordan Vinarub in which he uses the Model-View-Presenter pattern, Windows Forms 2.0, and automatic data binding, to build frameworks for unit testing the UI. Also see UI_TEST.ZIP.
Unit Testing the UI
by Jordan Vinarub
Listing One
public class Calculator : INotifyPropertyChanged
{
public decimal Operand2
{
get { return _operand2; }
set
{
if (value == _operand2)
return;
_operand2 = value;
OnPropertyChanged("Operand2");
OnPropertyChanged("CanDivide");
}
}
public bool CanDivide
{
get { return (this....


