This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let artifactsDir = "./.ci/artifacts/" | |
| /// modified versions of buildMSTestArgs wich adds testcontainer arguments for multiple assembiles https://github.com/fsharp/FAKE/blob/master/src/app/FakeLib/UnitTest/MSTest.fs | |
| let buildMSTestArgs2 parameters (assemblies : string seq) = | |
| // https://msdn.microsoft.com/de-de/library/ms182489.aspx#detail | |
| let detail_errormessage = "errormessage" | |
| let detail_errorstacktrace = "errorstacktrace" | |
| let detail_duration = "duration" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public static class DateTimeExtensions | |
| { | |
| public static DateTime TrimMilliseconds(this DateTime date) | |
| { | |
| return date.AddMilliseconds(-date.Millisecond); | |
| } | |
| } | |
| [TestClass] | |
| public class DateTimeExtensionsTest |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using Microsoft.VisualStudio.TestTools.UnitTesting; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq.Expressions; | |
| namespace Utils | |
| { | |
| public class GenericEqualityComparer<T> : EqualityComparer<T> | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public enum Answers | |
| { | |
| No, | |
| Yes, | |
| } | |
| public struct Answer | |
| { | |
| public Answer(Answers answer) | |
| { |