Developing a Test Plan and Debugging. MIS3502: Application Integration and Evaluation Paul Weinberg [email protected] Presentation by David Schuff. The role of testing. What should happen…. Development. Testing. Rollout. What often does happen…. Development. Rollout. Chaos.
Developing a Test Plan and Debugging
MIS3502: Application Integration and Evaluation
Presentation by David Schuff
What should happen…
What often does happen…
What a lame, obvious visual pun!
public partial class Form1 : Form
private void button1_Click(object sender, EventArgs e)
double num1 = Convert.ToDouble(textBox1.Text);
double num2 = Convert.ToDouble(textBox2.Text);
double ans = num1 * num2;
textBox3.Text = ans.ToString();
When you enter these values…
…you get this error
Now when you enter these values…
…you get this…
Click here to set a breakpoint.
The program will pause before this line executes.
We put the breakpoint here because this is the line that generated the exception.