Return to Video

01-31 Testing A Gui

  • 0:00 - 0:02
    So let's look at just one more example.
  • 0:02 - 0:04
    We're going to be testing some sort of a graphical application.
  • 0:04 - 0:08
    So we have a GUI application that's our software under test.
  • 0:08 - 0:10
    And so we have to ask ourselves what's the domain and range
  • 0:10 - 0:13
    of a graphical user application?
  • 0:13 - 0:15
    The domain--that is to say, the set of legal inputs--
  • 0:15 - 0:19
    is basically just going to be the set of all possible GUI actions,
  • 0:19 - 0:24
    so mouse clicks, keyboard events, swipes, etc.
  • 0:24 - 0:27
    And the range is going to be possible states of the GUI application.
  • 0:27 - 0:31
    So now it should go without saying that the size of the domain here--
  • 0:31 - 0:34
    that is to say, the size of the set of all possible GUI inputs--
  • 0:34 - 0:36
    is really pretty gigantic.
  • 0:36 - 0:38
    There are a lot of possible combinations of inputs.
  • 0:38 - 0:40
    And so now I have a quiz question for you.
  • 0:40 - 0:44
    The question is what constitutes a set of good test inputs for a GUI application?
  • 0:44 - 0:48
    Answer a) is just use the application normally.
  • 0:48 - 0:51
    Answer b) is let a 4-year-old use the application for a while.
  • 0:51 - 0:56
    Answer c) is use some sort of a tool to inject a stream of fake GUI events--
  • 0:56 - 1:00
    that is to say, a stream of automatically generated keyboard events,
  • 1:00 - 1:02
    mouse clicks, and similar.
  • 1:02 - 1:06
    And answer d) is reproduce GUI inputs--that is to say, mouse clicks and such--
  • 1:06 - 1:08
    that crashed our previous version of our software.
  • 1:08 -
    So go ahead and write all of the answers that apply in the text box here.
Cím:
01-31 Testing A Gui
Leírás:

01-31 Testing A Gui

more » « less
Team:
Udacity
Projekt:
CS258: Software Testing
Duration:
01:15
Udacity Robot edited Angol subtitles for cs258 unit1 22 q Testing a GUI
Amara Bot hozzáadott egy fordítást

English subtitles

Incomplete

Felülvizsgálatok Compare revisions