Midterm Study Flashcards

1
Q

When and Where do we test?

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

What is Quality Assurance?

A

Systematic Monitoring and evaluation of different aspects of a product to ensure that standards of quality are being used.

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

What is the goal of a software tester?

A

To find bugs, the earlier the better. The later in the development cycle a bug is found, the exponentially more expensive.

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

What is the goal of Quality Assurance?

A

To ensure that processes and procedures are followed and to improve the process with the goal that process improvements will result in improving the software. It will reduce the probability of bugs getting into the software in the first place.

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

Are programmers responsible for any of the activities involved in software quality and testing? what are they?

A

Yes, build code that is well-documented that follows best practices and provide proof that the code meets the specification

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

List some of the main tools and documents that a software tester will use to accomplish his job successfully?

A

Plan – An overall document that describes what will be done during testing

A list of test cases (use cases are often used to build test cases)

A method/system to document the bugs/problems

Testing tools and Automation

Metrics / Statistics/ Summaries – Managers need thes

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

What are some of the realities or limitations of testing software that all parties involved in the development or use of software must be aware of?

A
  • Not all bugs will be found / fixed in any significantly large system.
  • You can’t write tests for all cases
  • Some bugs are too risky to fix. eg. May break other components of a tightly integrated system.
  • It may not be worth it to fix the bug eg. Limited number of users, simple workaroun
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Black-Box Testing?

A

Testing that is done where access to the program source code is not available and or needed. The test technique is used to apply an input that will produce a response that can be evaluated for correctness.

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

When is it a bug?

A
  • Bug classifications are used as a way to confirm where and why a certain behavior is a bug.
  • We use project documents to confirm the expected behaviour/result of an application feature.
  • In most cases the project specification will be used as the guiding document.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the 4 main bug classifications?

A
  1. Software does not do something in the specification.
  2. Software does something that the specification says it should not do.
  3. Software does something that the specification does not mention.
  4. Software does not do something it should **, that is not mentioned in the specification.

** missing a feature that is present in similar software

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

What happens if a bug doesn’t fit into the standard categories?

A

Some bugs do not fit into the standard categories. Any unspecified / incorrect behaviour should be reported.

This will be Bug Classification #5

eg.

Simple – Inconsistent formatting / spelling

Major – Crash (Exceptions, Blue screen of death, Dataloss)

These are all aspects we expect to work correctly in any application. Generally the programmer has failed to consider all cases when these bugs occur.

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

What is a software specification?

A

A software specification is a description of the correct operation of an application. Can be provided as a list of requirements.

The specification is used to inform the design of the product.

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

What are the Important questions that should be asked during the review of the specification?

A

Is it complete and accurate?

Is it consistent?

Are the terms and nomenclature the same throughout the document

Is the information relevant?

Is the information presented important to the development of THIS application.

Extra information can be a distraction. Keep the specification focused.

Is it Feasible?

Can it be built with current hardware / software

Is the specification code/technology free?

Should not specify technology in the list of requirements.

Can the Specification be tested?

Is it complete and specific enough to be able to generate use cases. The use cases can be used to generate specific test cases

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

How much more expensive is it to fix a bug later on in the SDLC?

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

What are the main reasons bug fixes are delayed or not fixed?

A
  1. Not enough time
  2. Not really a bug
  3. Too risky to fix
  4. Not worth it to fix - impacts few users
  5. Bug report is vague - difficult to reproduce
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What would a bug report look like?

A
17
Q

What are some things that affect the severity of a bug?

A

System crash, Data Loss, security breach

Loss of functionality, wrong result

Formatting , rare event

of Users affected

18
Q

What are the different states of a bug during a typical bug life cycle?

A

OPEN – First reported into the system

REVIEW/CONFIRM – Analyzed to verify

RESOLVED – Fix applied

DEFERRED – Recognized, but bug is a low priority – may not be corrected in this version

CLOSED – Bug has been corrected and solution has been accepted

19
Q

Why do websites need to be tested?

A
  1. Web sites have a potential large audience
  2. They are public
  3. Quality of site reflect on the company
  4. Need to be professional - Can have a diverse set of users/uses
20
Q

What is gray box-testing?

A

Grey box testing is when you can see partial amounts of what goes on behind the scenes not just the gui. eg inspect page

Partial view into the code on a web-page

HTML is visible some CSS/javascript may also be visible