add function that command argument for only run test code.
and when compile has done, auto run test code.