exam questions

Exam MB-500 All Questions

View all questions & answers for the MB-500 exam

Exam MB-500 topic 4 question 8 discussion

Actual exam question from Microsoft's MB-500
Question #: 8
Topic #: 4
[All MB-500 Questions]

You are using the SysTest framework to test code in Visual Studio.
You need to create a unit test class.
Which three attributes can you use to create the class? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.

  • A. TestFilter
  • B. Priority
  • C. Owner
  • D. EntryPoint
  • E. Test Property
Show Suggested Answer Hide Answer
Suggested Answer: BCE 🗳️
The SysTest framework now supports the major test attributes in the adaptor to be on par with the MSTest framework adaptor. This includes attributes like
Category, Owner, Priority, and Test Property.
Note:
The Priority attribute SysTestPriority, which requires an integer value, is now available. A priority can only be specified once, but is supported on both the class and method level, with method level taking precedence over class level.
The Owner attribute, SysTestOwner, has also been added. This attribute was technically already supported for filtering in the Test Toolbox window, but the attribute itself was missing in X++. Similar to Priority, an owner can only be specified once and is supported on both the class and method level, with the method level taking precedence.
SysTestProperty specifies a property and a value (two strings), and can now be used in the Test Toolbox window in Visual Studio. Test Property can be specified multiple times, and can exist on both the class and method level.
Reference:
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/perf-test/systest-filtering

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Prollyx
7 months, 2 weeks ago
Selected Answer: BCE
Correct
upvoted 1 times
...
TYYI
11 months ago
The answer is correct
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago