Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Refactor Controller for Testability

Medium
Behavioral & LeadershiprefactoringTestingtechnical depthAsked 1 times

Problem

How would you refactor this specific controller to make it easier to unit test and integration test at GitLab?

You are practicing as a guest. Sign up free to get your answer graded with AI feedback. Your draft stays right here.

Sign up freeI have an account
Sign up to unlock solutions
GitLab QA Engineer Interview Questions
Next questions
GICRefactor for TestabilityMediumGitLabImprove Rails Code TestabilityMediumKhan AcademyRefactor for Modularity and TestsMedium
0 / ~200 words