Which three attributes can you use to create the class? Each correct answer presents a complete solution.

Last Updated on October 30, 2021 by Admin 3

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.

  • TestFilter
  • Priority
  • Owner
  • EntryPoint
  • Test Property
Explanation:

The SysTest framework now supports the major test attributes in the adaptor to be on par with the MS Test framework adaptor. This includes attributes like Category, Owner, Priority, and Test Property.

Note:
The Priority attribute Sys Test Priority, 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, Sys Test Owner, 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.

Sys Test Property 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.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments