Ejemplo n.º 1
0
        public void MatchJUnit()
        {
            //arrange
            var matcher = new TddMatcher();
            var input = "required skills \r\n junit, asp.net, tdd";

            //act
            var result = matcher.Match(input);

            //assert
            Assert.That(result, Is.True);
        }
Ejemplo n.º 2
0
        public void MatchUnitTests()
        {
            //arrange
            var matcher = new TddMatcher();
            var input = "required skills \r\n unit tests, asp.net";

            //act
            var result = matcher.Match(input);

            //assert
            Assert.That(result, Is.True);
        }
Ejemplo n.º 3
0
        public void DoesNotMatchUnity()
        {
            //arrange
            var matcher = new TddMatcher();
            var input = "good opportunity";

            //act
            var result = matcher.Match(input);

            //assert
            Assert.That(result, Is.False);

        }
Ejemplo n.º 4
0
        public void Smoke()
        {
            var matcher = new TddMatcher();

            Assert.That(matcher, Is.Not.Null);
        }