W2_1_JUnit_1_

studied byStudied by 0 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions

1 / 20

encourage image

There's no tags or description

Looks like no one added any tags here yet for you.

21 Terms

1

Test Automation

The use of software to control the execution of tests, compare actual outcomes to predicted outcomes, set up test preconditions, and perform test reporting functions.

New cards
2

Software Testability

The degree to which a system or component facilitates the establishment of test criteria and the performance of tests to determine if those criteria have been met.

New cards
3

Observability

How easy it is to observe the behavior of a program in terms of its outputs and effects on the environment.

New cards
4

Controllability

How easy it is to provide a program with the needed inputs, in terms of values, operations, and behaviors.

New cards
5

Test Case

A multipart artifact with a definite structure, including test case values and expected results.

New cards
6

Test Oracle

A mechanism for determining whether a test passed or failed based on expected results.

New cards
7

JUnit

An open source Java testing framework used to write and run repeatable automated tests.

New cards
8

JUnit Assertions

Methods used to test expected results in JUnit.

New cards
9

Test Fixture

The state of the test, including objects and variables used by more than one test.

New cards
10

Data-Driven Tests

Unit tests that run the same test logic multiple times with different sets of input data.

New cards
11

Parameterized Tests

JUnit tests that allow actual parameters to be passed to test methods.

New cards
12

Theories in JUnit

A way to express assumptions, actions, and assertions in unit tests with parameters.

New cards
13

JUnit Test Runner

The component that executes tests and reports results, either in a command line or graphical interface.

New cards
14

Exception Testing in JUnit

Tests designed to verify that specific exceptions are thrown under certain conditions.

New cards
15

@Before and @After Annotations

JUnit annotations used to set up and tear down test fixtures before and after test methods.

New cards
16

JUnit 4.0 Changes

Major changes in syntax that include moving away from extending TestCase and modifying method naming conventions.

New cards
17

@Test Annotation

Indicates that a method is a test method in JUnit.

New cards
18

Fail Assertion

A method used to indicate that a test has failed manually.

New cards
19

Happy Path Test

Tests that verify expected functionality when everything operates correctly.

New cards
20

Collection of Test Cases

A test set containing multiple test cases, used for organized testing.

New cards
21

Executable Test Script

A test case prepared to be executed automatically and produce a report.

New cards
robot