Get token for automated tests

Is it mean that I must include clientID/secretID of application inside tests ?