Home > User Support > CoverageMaster winAMS FAQ

CoverageMaster winAMS FAQ

Test Data Settings

103_01: How to test a function with a variable length argument?

Question:

I want to test a function with a variable length argument. How can I do it?

Answer:

Functions with variable-length arguments are a functional limitation of CoverageMaster and can not be specified as the function to be tested.

As a workaround, create a dummy function (test driver) that calls the function with a variable-length argument and pass the arguments by global variables.

Refer to this PDF file for details.

 

Related Technical Tips Search

Other technical tips in GAIO's web site can be searched for using the links below.

Search key word link: Variable Length Argument
Technical Tips Google Search


Information Links