Hacker News new | ask | show | jobs
by 3a2d29 1295 days ago
question:

How do unit tests stay green when you rewrite in another language? Are your tests an external API you call?

1 comments

Rewrites are not super common -- but IMHO if you must do one the first step is to move the tests over. Unless your goal with the rewrite is to rearchitect the interfaces at which point your basically greenfielding anyways.