ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 6 - MB-500 discussion

Report
Export

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

Answers
A.

TestFilter

B.

Priority

Answers
B.

Priority

C.

Owner

Answers
C.

Owner

D.

EntryPoint

Answers
D.

EntryPoint

E.

Test Property

Answers
E.

Test Property

Suggested answer: B, C, E

Explanation:

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

asked 05/10/2024
Muneer Deers
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first