Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DataAccessMethod Enumeration
Collapse the table of content
Expand the table of content

DataAccessMethod Enumeration

Specifies constants that indicate how data rows are accessed in data-driven testing.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

type DataAccessMethod

Member nameDescription
RandomRows are returned in a random order.
SequentialRows are returned in a sequential order.

The following code contains the class and method to test.

No code example is currently available or this language may not be supported.

The following test will pass. It uses the sample.mdb access database that contains the following data.

Name

Balance

Amount

Jorg Bott

100

25

Pedro Ruivo

70

60

Mandar Samant

75

71.25

Russell King

159

158

Jun Cao

11.99

11.22

Note that the DataAccessMethod is sequential.

No code example is currently available or this language may not be supported.
Show:
© 2015 Microsoft