Lecture 4 Flashcards

1
Q

Test Automation (TA)

A

The use of special software to control the execution of tests and the comparison of actual outcomes with predicted outcomes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

[TA] Advantages/Pros

A
  • Saves time and $
  • Increases accuracy
  • Increases test coverage
  • Helps devs find bugs faster
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

[TA] What TO Automate

** Test cases that are: <4> **

A

Test cases that are:

  • executed repeatedly
  • tedious/difficult to perform
  • time consuming
  • high risk/business critical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

[TA] What to NOT Automate

** Test cases that are: <3> **

A

Test cases that are:

  • new/never been manually executed yet
  • frequently changing their requirements
  • executed on an ad-hoc basis (for a particular purpose)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

[TA] Approaches <2>

A
  • GUI Testing

- API Driven Testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

[TA Approaches] GUI Testing

A

Generates GUI events (keystrokes, mouse clicks), and observes the changes that result in the GUI, to validate that the observed behavior of the program is correct.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

[TA Approaches] API Driven Testing

A

Uses a programming interface to the application to validate the behavior under test. Typically bypasses GUI altogether. Can also test public (usually) interfaces to classes, modules, or libraries.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

[TA] Agile

A
  • Normal pyramid

- Emphasis from max to min (base to top): unit >= API >= GUI >= ~exploratory~

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

[TA] Inverted Test Automation Pyramid

A
  • Inverted pyramid

- Emphasis from min to max (tiny base to large top): Unit tests >= automated GUI >= manual tests

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

[TA] Best Practices <4>

A
  • Scope of Automation determined before project starts
  • Selecting the right automation tool to fit automation requirements
  • Scripting Standards followed while writing automation scripts
  • Success of automation measured by percent of defects found, time required for automation testing for every release cycle, and productivity improvement
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

[TA] Myths

A
  • Automated software testing does NOT replace manual testing
  • Not every tester can dual role manual and automation testing
  • Automated testing is NOT a lot easier
  • Testing jobs NOT in jeopardy due to automation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Model Based Testing (MBT)

A

Testing technique, where run time behavior of software is checked against predictions made by a formal specification or model.
Describes how system behaves in response to an action (determined by a model).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

[MBT] Model

A

A description of a system’s behavior. Behavior is terms of input sequences, actions, conditions, output and flow of data from input to output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly