it is portable as long as the test and production use the same folder structure.
you should be using a subdomain for the test site, for example,
database will it store
which would be portable to your production site.
the portability depends on how you configure the testing site.