You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do?
A.
Use IntelliTrace.
B.
Use datadriven tests.
C.
Create a single test class.
D.
Create a test method for each data variation.