Terms Flashcards

1
Q

Test First

A

When should you write your tests? Before you write the code that is to be tested

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

Test List

A

List over all the test you will have to code. Add to it when new tests are discovered

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

One Step Test

A

Which test should you pick from the next? Pick a test that will teach you something and that you are confident you can implement.

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

Isolated Test

A

The test should affect each other at all

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

Evident Tests

A

By writing the test code evident, readable, and as simple as possible we avoid writing defective tests

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

Fake it (Till you make it)

A

Once you have a broken test, make it return the constant you want it to. Once your test is running, gradually transform it

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

Triangulation

A

Abstract only when you have two or more examples

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

Assert First

A

It’s in the title m8

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

Break

A

Take break pall

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

Evident Data

A

Include expected and actual results in the test itself, and make their relationship apparent. Tests are made for the coder, not the computer

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

Obvious Implementation

A

How do you implement simple operations? Just implement them

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

Representative Data

A

What data do you use for your tests? Select a small set of data where each element represents a conceptual aspect or a special computational precessing

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

Automated Test

A

How do you test your software? Write an automated test

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

Test Data

A

What data do you use for test-first tests? Use data that makes the tests easy to read and follow. If there is a difference in the data, then it should be meaningful. If there isn’t a conceptual difference between 1 and 2, use 1

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

Child Test

A

How do you get a test case running that turns out to be too big? Write a smaller test case that represents the broken part of the bigger test case. Get the smaller test case running. Reintroduce the larger test case.

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

Do Over

A

What do you do when you are feeling lost? Throw away the code and start over

17
Q

Regression Test

A

What’s the first thing you do when a defect is reported? Write the smallest possible test that fails and that, once run, will be repaired.