At what point in the audit are tests of details most appropriately designed?

At what point in the audit are tests of details most appropriately designed?

    a.    Engagement evaluation.
    b.    Planning.
    c.    Testing.
    d.    Any of the above.