CCAR-F practice › Claude Code Configuration & Workflows · Question 61 of 105

Claude Code Configuration & Workflows · Select TWO

A Claude-written migration script mostly works, but it writes the string "null" when a source column is null and fails on empty strings. You want to fix this and stop edge cases from regressing. Which two approaches are most effective? Select two.

Show answer and explanation

Answer: A and C — Give a specific test case: an input row with a null column and its exact expected output / Write a test suite covering expected behavior and edge cases, then share its failures

A specific test case with example input and expected output tells Claude exactly what correct handling looks like. A test suite covering expected behavior and edge cases, with failures fed back, guides progressive improvement and catches regressions. (B) is too vague to act on. (D) asks the session that wrote the code to confirm its own assumptions.