What type of test must you use?

You are writing tests for an application that tracks the results of car races. The application
includes a function named GetResults that returns the results for a race with a given name,
as shown in the following code. (Line numbers are included for reference only.)

You need to test that the GetResults function creates a RaceResult object containing the
race name and data for each race result stored in the database.
What type of test must you use?

You are writing tests for an application that tracks the results of car races. The application
includes a function named GetResults that returns the results for a race with a given name,
as shown in the following code. (Line numbers are included for reference only.)

You need to test that the GetResults function creates a RaceResult object containing the
race name and data for each race result stored in the database.
What type of test must you use?

A.
Stress

B.
Integration

C.
Performance

D.
Unit



Leave a Reply 0

Your email address will not be published. Required fields are marked *