Suppose, i have two modules. Both of these modules access same file and execute some file operation. There is no direct relationship between the modules but there is a hidden dependency by file. Because any modification of the file will affect both of the modules.
My question is: how to test this kind of hidden dependency or what can be the test criteria?