Actually it depends on development life cycle used in your company and which process you follow during development.