Microsoft
98-379 · Question #29
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 correct answer is B. Integration. See the full explanation below for the reasoning.
Question
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?
Exhibit
Options
- AStress
- BIntegration
- CPerformance
- DUnit
How the community answered
(21 responses)- A14% (3)
- B76% (16)
- C5% (1)
- D5% (1)
Community Discussion
No community discussion yet for this question.
