1. A method for handling parameters in a test script, comprising: executing a test script for testing a function of a computer program, the test script including a command invoking the function, the command having arguments, the command arguments in the test script including a set of test input parameters for the function; determining the required input parameters for the function; and detecting an error if there is a mismatch between the required input parameters and the test input parameters.