TestBase.cs 532 B

1234567891011121314151617181920
  1. using System;
  2. using SongVocalSectionAnalyser.Common.Logging;
  3. using Xunit;
  4. using Xunit.Abstractions;
  5. [assembly: CollectionBehavior(CollectionBehavior.CollectionPerAssembly, DisableTestParallelization = true)]
  6. namespace SongVocalSectionAnalyser.Tests
  7. {
  8. public abstract class TestBase
  9. {
  10. protected static readonly Random Rnd = new Random();
  11. protected TestBase(ITestOutputHelper output)
  12. {
  13. Logger.Init(new MultiLogger(ConsoleLogger.Instance, new XunitTestLogger(output)));
  14. }
  15. }
  16. }