Every temptation is a kind of test, but not every test is a temptation. Tests and temptations have different purposes, and they come from different places. Tests are designed to show what someone can do. Their purpose is positive, which explains why God himself tests people, as he tested Abraham (Heb. 11:17). A test is a trial posed by God to prove the strength of our faith. Temptations, on the other hand, are more negative. Their explicit purpose is to entice people to sin, which is why they come from the Evil One. A temptation is a trial posed by Satan, with the wicked hope that we will fail.
Philip Graham Ryken