Parasoft unit test C/C++ test: How to use constant as variable in Unit test

yandafayandafa Posts: 1

Hello, vehicle software has many special constants which could be changed by test/calibration engineers during tests with calibration tools. While designing unit test cases, I would like to change the value of these test cases across test cases. But since these are defined as constants, one the software is compiled, I cannot change its value anymore. I would like to ask if there is a method in ParaSoft tool can allow me to treat these constants like a global variable.

Sign In or Register to comment.