Then he discloses with what intention the actions should be performed. For they should not be done abruptly but with proving, that is, discerning with one's mind—"Let everyone prove his own work," as Galatians 6 (4) expresses it—what is well pleasing to God, that is, you ought to have the intention of doing whatever pleases God. "Be reformed in the newness of your mind, that you may prove what is the good and the acceptable and the perfect will of God" (Rom. 12:2).
Source: Commentary on Ephesians