I currently have like 10 tests that test whenever my Tetris piece doesn\'t move left if there is a piece in the path, or a wall. Now, I will have to test the same behaviour for
The xunitpatterns.org web site says "no" (copy / paste is not ok) because it can increase costs when tests need to be updated:
"Cut and Paste" is a powerful tool for writing code fast but it results in many copies of the same code each of which must be maintained in parallel.
and for further reading it also links to the article
By: Arie van Deursen, Leon Moonen, Alex van den Bergh, Gerard Kok