Pex - Automated Whitebox Testing for .NET : TestCopyright

TestCopyright


The TestCopyright setting from the PexAssemblySettingsAttribute can be used to specify a copyright header that will be insterted in every generated file.

  • in your PexAssemblyInfo.cs,
[assembly: PexAssemblySettings(TestCopyright = 
@" ----------------------
(c) Microsoft Corporation. All rights reserved.
 ------------------------")]

  • generated test,
// ----------------------
// (c) Microsoft Corporation. All rights reserved.
// ------------------------
...
(c) Microsoft Corporation. All rights reserved. pex Wiki Documentation 0.93.50813.0