How do I translate 'do well on your test' into Chinese? How do I translate 'do well on your test' into Chinese?

My friend is taking a test tomorrow. Although he speaks English to me, I thought it would be nice to wish him success in chinese.

Is 祝你好运测试 correct (or adequate)?
I basically agree with what Itux just said. But I would prefer to say “祝你考试顺利” instead of “祝你测试顺利”.

In your context, “考试” would be the word you look for when you want to translate "test" or "exam". As for "quiz", it's usually “小测”. “测验” means test indeed but in a much more general way. People tend to just use “考试” when they talk something about school, especially in daily conversations.