Results 1 to 3 of 3

Thread: Test Conditions

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Test Conditions

    I have written an application in Visual Basic.NET and have been asked to "Set Test Conditions". Can I have a quick description of what actually a test condition is? I have had a look online, with no definitive answer.

    Am I correct in saying that a test condition is an "If this happens" then "This is the expected result" statement? If not, can I have a description of what actually a test condition is, preferably with an example if possible.

  2. #2
    Frenzied Member IanRyder's Avatar
    Join Date
    Jan 2013
    Location
    Healing, UK
    Posts
    1,232

    Re: Test Conditions

    Hi,

    I have written an application in Visual Basic.NET and have been asked to "Set Test Conditions".
    I would say that there are two ways that this statement can be interpreted:-

    1) You have been asked to insert additional code into your application to test the condition of an object thereby performing different actions depending on the conditions you are testing for. If So, then have a look here:-

    http://msdn.microsoft.com/en-us/library/hh892482.aspx

    2) You have completed the coding of your application and you have been asked to set test conditions to test the logic of your coding. Lets say you had written some code to do different things depending on the Value of an Integer variable. In this case you would essentially create a list of Numbers which would ensure that every conceivable outcome in your logic could be thoroughly tested. You would then take this list f numbers and apply those numbers to your application to ensure that what you expect to happen actually does happen. This is the basic concept of Quality Control and Debugging.

    Hope that helps.

    Cheers,

    Ian

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: Test Conditions

    I am sure that it is 2) in this situation.

    Thanks for your post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width