Help get this topic noticed by sharing it on Twitter, Facebook, or email.

Prevent releasing testing code as production code

I have two versions of my code: testing, with debug routines, and production. I want to ensure that testing code is *never* released as production code.

When I produce .zip file and upload it to Crossrider website, I am not always sure if I had built the testing, or the production version. I would be happy to see a mechanism that would prevent accepting testing code as production code.

Idea: at the beginning of the source code, insert a comment with a keyword, e.g.:

// CROSSRIDER_TESTING_CODE

Crossrider website would indicate that this line is there (e.g. big red exclamation mark) and would disable "Sync with production" button when it is there.

What do you think about that?
1 person likes
this idea
+1
Reply