How can I enable NLog in a test project?

How can I enable logging with NLog in a Litium test project?

  1. Copy the nlog.config file from the web project to the test project
  2. Modify properties of the file in test project and set Copy to output directory = Always
  3. Log file should then be located in /bin folder of test project, note that it only works for classes that inherit from LitiumApplicationTestBase