Results 1 to 3 of 3

Thread: VB.net Unit Testing Forms

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2014
    Posts
    77

    VB.net Unit Testing Forms

    I have tests for my calculator for various functions etc, but is it possible to produce tests for my calculator form? If so, what is normally involved?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    110,344

    Re: VB.net Unit Testing Forms

    Plenty of relevant information can be found here, as you'd expect.

  3. #3
    PowerPoster Evil_Giraffe's Avatar
    Join Date
    Aug 2002
    Location
    Suffolk, UK
    Posts
    2,555

    Re: VB.net Unit Testing Forms

    The trick to unit testing UIs is to not have your logic in the code behind of the UI, but in separate classes that know nothing about the UI. Most UI architecture patterns revolve around separating your application logic from your UI as far as possible.

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