Microsoft
70-519 · Question #270
You define a testing strategy for an ASP.NET application by using code contracts. The testing strategy has the following requirements: - Verify the internal consistency of the application. - Verify…
The correct answer is C. Invariants. See the full explanation below for the reasoning.
Question
You define a testing strategy for an ASP.NET application by using code contracts. The testing strategy has the following requirements:
- Verify the internal consistency of the application.
- Verify cross-boundary method calls.
- Identify whether objects are modified.
You need to implement the testing strategy. Which testing strategy should you use?
Options
- APostconditions
- BPreconditions
- CInvariants
- DPure
How the community answered
(23 responses)- A9% (2)
- B4% (1)
- C70% (16)
- D17% (4)
Community Discussion
No community discussion yet for this question.