What is a good way to cheat on a test?

How about you study the night or day before, and do the test without cheating? I would rather you get an F without cheating than an A by cheating, because even though you get an A you really have learned nothing from what you were taught.