Microsoft
70-354 · Question #42
70-354 Question #42: Real Exam Question with Answer & Explanation
Sign in or unlock 70-354 to reveal the answer and full explanation for question #42. The question stem and answer options stay visible for context.
Question
You are developing a Universal Windows Platform (UWP) app that has the following unit test.
{
public class UnitTest1
{
{
[TestMethod]
public void TestMethod1()
{
}
}
}
}
You need to ensure that TestMethod1 appears in the Test Explorer window of Microsoft Visual Studio. What should you add?Options
- A[TestProperty("AutoStart","True")] before the TestMethod1 declaration
- B[TestCategory("Enabled")] before the UnitTest1 declaration
- C[TestProperty("Enabled", "True")] before the TestMethod1 declaration
- D[TestClass] before the UnitTest1 declaration
Unlock 70-354 to see the answer
You've previewed enough free 70-354 questions. Unlock 70-354 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.