The only thing that you want to consider is making sure its unique. In hierarchical codebases, you may want to add the relative path before the file name in case you have two test.h (such as app/test.h and lib/test.h).
> The only thing that you want to consider is making sure its unique.
If the code base is a large one, it is a good idea to generate the include guard token from the base name of the header file. Compilers (actually preprocessors) would then be able to enable the multiple-include optimization.