Parameterized Test Units

From STRIDE Wiki
Revision as of 23:49, 24 June 2011 by Timd (talk | contribs) (Created page with 'You can leverage the tests you write in Test Units by using STRIDE's parameterization feature. This allows you to supply parameters to your test units at run time to customize te…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

You can leverage the tests you write in Test Units by using STRIDE's parameterization feature. This allows you to supply parameters to your test units at run time to customize test behavior.

Parameter Types

ANSI strings and number parameter types are directly supported.

String types
  • char*
  • const char*
Number types
  • all integer types
  • float
  • double

How Parameters are Passed from the Host

How Parameters are Received on the Target

Parameters are passed from the stride.exe command line and are presented on the target

cpp test unit

Parameters are presented as constructor arguments to the test unit class

c-class test unit

initialization parameters to a c-class test unit. (

flist test unit
Not supported