Export (0) Print
Expand All

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)

public enum class DataAccessMethod
public enum DataAccessMethod
public enum 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.

Community Additions

ADD
Show:
© 2014 Microsoft