From 1fd0865586eaa1c89994a1596914096b88f16b2b Mon Sep 17 00:00:00 2001 From: Bettina Heim Date: Sun, 15 Mar 2020 19:08:27 -0700 Subject: [PATCH] EnableTestingViaName attribute --- src/Simulation/QsharpCore/Diagnostics/UnitTests.qs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Simulation/QsharpCore/Diagnostics/UnitTests.qs b/src/Simulation/QsharpCore/Diagnostics/UnitTests.qs index 7134d071b67..6b1ac06273c 100644 --- a/src/Simulation/QsharpCore/Diagnostics/UnitTests.qs +++ b/src/Simulation/QsharpCore/Diagnostics/UnitTests.qs @@ -14,6 +14,16 @@ namespace Microsoft.Quantum.Diagnostics { /// @Attribute() newtype Test = (ExecutionTarget : String); + + /// # Summary + /// Compiler recognized attribute via which an alternative name can be defined + /// that may be used when loading a type or callable for testing purposes. + /// + /// # Input + /// Defined name for testing purposes. + /// The String is expected to contain a fully qualified name. + @Attribute() + newtype EnableTestingViaName = String; }