Exemple #1
0
        public FunctionAppFixture()
        {
            Trace.Listeners.Add(new ConsoleTraceListener());

            _assert = new TrackedAssert(Telemetry);

            FunctionDefaultKey = Guid.NewGuid().ToString().ToLower();

            InitializeSite().Wait();
        }
        public FunctionAppFixture()
        {
            ILoggerFactory loggerFactory = new LoggerFactory().AddConsole();

            _logger = loggerFactory.CreateLogger <FunctionAppFixture>();

            _assert = new TrackedAssert(Telemetry);

            FunctionDefaultKey = Guid.NewGuid().ToString().ToLower();

            Initialize().Wait();
        }