Developing a Test Plan and Debugging. MIS3502: Application Integration and Evaluation Paul Weinberg firstname.lastname@example.org Presentation by David Schuff. The role of testing. What should happen…. Development. Testing. Rollout. What often does happen…. Development. Rollout. Chaos.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
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.