{"id":182032,"date":"2013-06-04T14:53:03","date_gmt":"2013-06-04T10:53:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=182032"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=182032","title":{"rendered":"<span class=\"post_title\">\u0418\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u0430\u044f \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044f: SpecFlow \u043e\u0442 \u0410 \u0434\u043e \u042f<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c <a href=\"http:\/\/habrahabr.ru\/company\/etnasoft\/blog\/166747\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u0438 \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u00ab\u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439\u00bb \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/www.specflow.org\/specflownew\/\">SpecFlow<\/a>.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d \u043a Visual Studio (\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430) \u0438 \u043f\u0430\u043a\u0435\u0442 SpecFlow (\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437 <a href=\"http:\/\/www.nuget.org\/packages\/SpecFlow\">nuget<\/a>).<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043d\u0430\u0448 Product Owner \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u2026<br \/>  <a name=\"habracut\"><\/a>  <\/p>\n<pre><code>@calculator Feature: Sum \tAs a math idiot \tI want to be told the sum of two numbers \tSo that I can avoid silly mistakes \t @positive @sprint1 Scenario: Add two numbers \tGiven I have entered 50 into the calculator \tAnd I have entered 70 into the calculator \tWhen I press add \tThen the result should be 120 on the screen <\/code><\/pre>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 @\u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b. \u0423 \u043d\u0438\u0445 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0436\u043d\u044b\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432. \u041f\u0435\u0440\u0432\u043e\u0435, \u2014 \u0435\u0441\u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 NUnit, SpecFlow \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <i>[NUnit.Framework.CategoryAttribute(\u00abcalculator\u00bb)]<\/i>. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u043b\u044f \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0435\u0441\u0442-\u043f\u043b\u0430\u043d\u043e\u0432. \u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043f\u043e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0442 R#, \u0440\u043e\u0434\u043d\u043e\u0439 NUnit Runner \u0438 Team City.<\/p>\n<p>  \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u044d\u0442\u043e\u0442 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439. \u041a \u044d\u0442\u043e\u043c\u0443 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u0443\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430:  <\/p>\n<pre><code>public interface ICalculator {     decimal Sum(params decimal[] values);      decimal Minus(decimal a, decimal b);      decimal Sin(decimal a);      decimal Multiply(params decimal[] values);      decimal Divide(decimal a, decimal b); } <\/code><\/pre>\n<p>  \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f:  <\/p>\n<pre><code>public class CalculationContext {     private readonly List&lt;decimal&gt; _values = new List&lt;decimal&gt;();      public ICalculator Calculator { get; private set; }      public decimal Result { get; set; }      public Exception Exception { get; set; }      public List&lt;decimal&gt; Values     {         get { return _values; }     }      public CalculationContext()     {         Calculator = new Calculator();     } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0448\u0430\u0433\u043e\u0432 SpecFlow \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b:  <\/p>\n<pre><code>[Binding] public class Sum : CalcStepsBase {     public CalculationContext Context {get;set;}          public Sum(CalculationContext context)     {         Context = CalculationContext();     }      [Given(&quot;I have entered (.*) into the calculator&quot;)]     public void Enter(int digit)     {         Context.Values.Add(digit);     }      [When(&quot;I press (.*)&quot;)]     public void Press(string action)     {         switch (action.ToLower())         {             case &quot;add&quot;:             case &quot;plus&quot;:                 Context.Result = Context.Calculator.Sum(Context.Values.ToArray());                 break;             default: throw new InconclusiveException(string.Format(&quot;Action \\&quot;{0}\\&quot; is not implemented&quot;, action));         }     }      [Then(&quot;the result should be (.*) on the screen&quot;)]     public void Result(decimal expected)     {         Assert.AreEqual(expected, Context.Result);     } } <\/code><\/pre>\n<p>  \u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u0435\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0435\u0438\u043c\u0443\u0449\u0435\u0441\u0442\u0432:  <\/p>\n<ol>\n<li>\u041a\u0430\u0436\u0434\u044b\u0439 \u0448\u0430\u0433 \u043d\u0443\u0436\u043d\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0430\u0436\u0434\u044b<\/li>\n<li>\u0412\u044b \u0438\u0437\u0431\u0435\u0433\u0430\u0435\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u043c\u0438 \u0446\u0435\u043f\u043e\u0447\u043a\u0430\u043c\u0438 \u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0434 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u0435\u0435<\/li>\n<li>\u0410\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u044b\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0442\u0430\u043a \u043e\u0434\u0438\u043d \u0430\u0442\u0440\u0438\u0431\u0443\u0442 \u043c\u043e\u0436\u0435\u0442 \u00ab\u043f\u043e\u0439\u043c\u0430\u0442\u044c\u00bb \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0448\u0430\u0433\u043e\u0432. \u0410\u0442\u0440\u0438\u0431\u0443\u0442 When, \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u043b\u044f \u0444\u0440\u0430\u0437\u044b \u00abadd\u00bb \u0438 \u00abplus\u00bb<\/li>\n<\/ol>\n<p>\u0412\u0441\u0435, \u0432\u0441\u0435 \u0448\u0430\u0433\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b, \u0442\u0435\u0441\u0442 \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u044f\u043c\u043e \u0438\u0437 .feature-\u0444\u0430\u0439\u043b\u0430.<\/p>\n<h4>\u0410\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u0430\u044f \u0437\u0430\u043f\u0438\u0441\u044c<\/h4>\n<p>  <\/p>\n<pre><code>@positive Scenario: Paste numbers \tGiven I have entered two numbers \t| a | b | \t| 1 | 2 | \tWhen I press add \tThen the result should be 3 on the screen  [Given(&quot;I have entered two numbers&quot;)] public void Paste(Table values) {     var calcRow = values.CreateInstance&lt;CalcTable&gt;();     Context.Values.Add(calcRow.A);     Context.Values.Add(calcRow.B); }  public class CalcTable {     public decimal A { get; set; }      public decimal B { get; set; } } <\/code><\/pre>\n<p>  \u0422\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0437\u0430\u043f\u0438\u0441\u0438 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0443\u0434\u043e\u0431\u0435\u043d, \u043a\u043e\u0433\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0431\u044a\u0435\u043a\u0442. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0430\u043d\u043d\u044b\u0435 \u0430\u043a\u043a\u0430\u0443\u043d\u0442\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<h3>\u041c\u044b \u0447\u0442\u043e \u0431\u0443\u0434\u0435\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u0438\u043d \u043d\u0430\u0431\u043e\u0440 \u0434\u0430\u043d\u043d\u044b\u0445?<\/h3>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u0434\u043d\u043e\u0433\u043e \u0442\u0435\u0441\u0442\u0430 \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0430\u043a \u0434\u0435\u0441\u044f\u0442\u043a\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0434\u043b\u044f \u0440\u0430\u0437\u043d\u044b\u0445 \u0447\u0438\u0441\u0435\u043b \u0443\u0434\u043e\u0432\u043e\u043b\u044c\u0441\u0442\u0432\u0438\u0435 \u0441\u043e\u043c\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435. \u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 <i>Scenario Outline<\/i>  <\/p>\n<pre><code>@calculator Feature: Calculations \tAs a math idiot \tI want to be told the calculation result of two numbers \tSo that I can avoid silly mistakes \t @positive @b12 @tc34 Scenario Outline: Add two numbers \tGiven I have entered &lt;firstValue&gt; into the calculator \tAnd I have entered &lt;secondValue&gt; into the calculator \tWhen I press &lt;action&gt; \tThen the &lt;result&gt; should be on the screen  Examples:  | firstValue | secondValue  | action   | result   | | 1          | 2            | plus     | 3        | | 2          | 3            | minus    | -1       | | 2          | 2            | multiply | 4        | <\/code><\/pre>\n<p>  SpecFlow \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0438\u0437 \u0442\u0430\u0431\u043b\u0438\u0446\u044b \u0432 <i>\u043f\u043b\u0435\u0439\u0441\u0445\u043e\u043b\u0434\u0435\u0440<\/i>. \u0423\u0436\u0435 \u043d\u0435\u043f\u043b\u043e\u0445\u043e, \u043d\u043e \u043d\u0443\u0436\u043d\u043e \u0435\u0449\u0435 \u0434\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044e:  <\/p>\n<pre><code>[When(&quot;I press (.*)&quot;)] public void Press(string action) {     switch (action.ToLower())     {         case &quot;add&quot;:         case &quot;plus&quot;:             Context.Result = Context.Calculator.Sum(Context.Values.ToArray());             break;         case &quot;minus&quot;:             Context.Result = Context.Calculator.Minus(Context.Values[0], Context.Values[1]);             break;         case &quot;multiply&quot;:             Context.Result = Context.Calculator.Multiply(Context.Values.ToArray());             break;         case &quot;sin&quot;:             Context.Result = Context.Calculator.Sin(Context.Values[0]);             break;         default: throw new InconclusiveException(string.Format(&quot;Action \\&quot;{0}\\&quot; is not implemented&quot;, action));     } }  [Then(&quot;the result should be (.*) on the screen&quot;)] [Then(&quot;the (.*) should be on the screen&quot;)] public void Result(decimal expected) {     Assert.AreEqual(expected, Context.Result); } <\/code><\/pre>\n<p>  \u041c\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u043b \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0441\u0442\u0438 \u0432\u0442\u043e\u0440\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430 \u043c\u0435\u0442\u043e\u0434 Result \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0432\u0435\u0441\u0438\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442. \u041d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 3 \u0442\u0435\u0441\u0442\u0430 \u0441 \u043e\u0442\u0447\u0435\u0442\u0430\u043c\u0438 \u0432\u0438\u0434\u0430:  <\/p>\n<pre><code>Given I have entered 1 into the calculator -&gt; done: Sum.Enter(1) (0,0s) And I have entered 2 into the calculator -&gt; done: Sum.Enter(2) (0,0s) When I press plus -&gt; done: Sum.Press(&quot;plus&quot;) (0,0s) Then the result should be 3 on the screen -&gt; done: Sum.Result(3) (0,0s) <\/code><\/pre>\n<p>  <\/p>\n<h3>\u0410 \u0447\u0442\u043e \u043d\u0430 \u0441\u0447\u0435\u0442 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0445 \u0442\u0435\u0441\u0442\u043e\u0432?<\/h3>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043d\u0430 0:  <\/p>\n<pre><code>@calculator Feature: Devision \tAs a math idiot \tI want to be told the devision of two numbers \tSo that I can avoid silly mistakes \t @negative @exception Scenario: Zero division \tGiven I have entered 10 into the calculator \tAnd I have entered 0 into the calculator \tWhen I press divide \tThen exception must occur <\/code><\/pre>\n<p>  \u0412 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435, \u043d\u0435 \u0445\u043e\u0447\u0435\u0442\u0441\u044f \u043c\u0435\u0448\u0430\u0442\u044c \u043c\u0443\u0445\u0438 \u0441 \u043a\u043e\u0442\u043b\u0435\u0442\u0430\u043c\u0438 \u0438 \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0435\u043b \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. \u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441. \u0427\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0441 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u043e\u043c? \u041e\u043d \u0436\u0435 \u043e\u0441\u0442\u0430\u043b\u0441\u044f \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 <i>Sum<\/i>. SpecFlow \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u043d\u044a\u0435\u043a\u0446\u0438\u044e \u0432 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440. \u0412\u044b\u0434\u0435\u043b\u0438\u043c \u0431\u0430\u0437\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441:  <\/p>\n<pre><code>public class CalcStepsBase {     protected CalculationContext Context;      public CalcStepsBase(CalculationContext context)     {         Context = context;     } } <\/code><\/pre>\n<p>  \u0423\u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u043d\u043e\u0432\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441 \u0448\u0430\u0433\u0430\u043c\u0438 \u0434\u043b\u044f \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043e\u0442 \u043d\u0435\u0433\u043e:  <\/p>\n<pre><code>[Binding] public class Division : CalcStepsBase {     public Division(CalculationContext context) : base(context)     {     }      [When(&quot;I press divide&quot;), Scope(Scenario = &quot;Zero division&quot;)]     public void ZeroDivision()     {         try         {             Context.Calculator.Divide(Context.Values[0], Context.Values[1]);         }         catch (DivideByZeroException ex)         {             Context.Exception = ex;         }     }      [Then(&quot;exception must occur&quot;)]     public void Exception()     {         Assert.That(Context.Exception, Is.TypeOf&lt;DivideByZeroException&gt;());     } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u0430\u0439\u0434\u0438\u043d\u0433\u0438 \u043d\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432\u0430\u043b\u0438 \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u043c \u0438\u0445 \u043d\u0430 \u043f\u043e\u0437\u0438\u0442\u0438\u0432\u043d\u044b\u0435 \u0438 \u043d\u0435\u0433\u0430\u0442\u0438\u0432\u043d\u044b\u0435  <\/p>\n<pre><code>[When(&quot;I press (.*)&quot;), Scope(Tag = &quot;positive&quot;)] [When(&quot;I press divide&quot;), Scope(Scenario = &quot;Zero division&quot;)] <\/code><\/pre>\n<p>  \u041c\u044b \u043c\u043e\u0436\u0435\u043c \u0444\u0438\u043b\u044c\u0442\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u043a\u0430\u043a \u043f\u043e \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044e, \u0442\u0430\u043a \u0438 \u043f\u043e \u0442\u0435\u0433\u0430\u043c.<\/p>\n<h3>Data Driven Tests<\/h3>\n<p>\u0427\u0435\u0442\u044b\u0440\u0435\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u043d\u0430 \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u0435 \u0438 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u0435 \u044f\u0432\u043d\u043e \u043d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e. \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u0441\u0442\u0435\u043c, \u0441 \u0432\u043d\u0443\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043e\u0431\u044a\u0435\u043c\u0430\u043c\u0438 \u0432\u0445\u043e\u0434\u043d\u044b\u0445 \u0438 \u0432\u044b\u0445\u043e\u0434\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u043d\u044f \u0432 DSL \u0431\u0443\u0434\u0435\u0442 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u0441\u044f \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e. \u0414\u043b\u044f \u0442\u043e\u0433\u043e \u0447\u0442\u043e\u0431\u044b \u0441 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u043f\u0438\u0441\u0430\u0442\u044c \u0442\u0435\u0441\u0442\u044b \u0431\u044b\u043b\u043e \u0443\u0434\u043e\u0431\u043d\u043e, \u0430 \u0441 \u0434\u0440\u0443\u0433\u043e\u0439, \u2014 \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c GWT-\u0444\u043e\u0440\u043c\u0430\u0442 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0434\u0432\u0443\u043c\u044f \u043f\u0443\u0442\u044f\u043c\u0438:  <\/p>\n<ol>\n<li>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <a href=\"http:\/\/teststack.github.io\/TestStack.BDDfy\/\">BDDfy<\/a><\/li>\n<li>\u0434\u043e\u043f\u0438\u043b\u0438\u0442\u044c SpecFlow \u043f\u043e\u0434 <a href=\"http:\/\/habrahabr.ru\/post\/181311\/\">\u0441\u0432\u043e\u0438 \u043d\u0443\u0436\u0434\u044b<\/a><\/li>\n<\/ol>\n<p>  \u042f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u043d\u0430 \u0432\u0442\u043e\u0440\u043e\u043c \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0434\u0432\u0430 \u0444\u043e\u0440\u043c\u0430\u0442\u0430:  <\/p>\n<pre><code>[TestFixture] [Feature(     &quot;Sum Excel&quot;,     As = &quot;Math idiot&quot;,     IWant = &quot;to be told sum of two numbers&quot;,     SoThat = &quot;I can avoid silly mistakes&quot;)] public class ExcelSumTests : GherkinGenerationTestsBase {     [TestCaseSource(&quot;Excel&quot;)]     [Scenario(&quot;Sum Excel&quot;, &quot;excel&quot;, &quot;positive&quot;, &quot;calculator&quot;)]     public void AddTwoNumbers_TheResultShouldBeOnTheScreen(string firstValue, string secondValue, string action, string result)     {         Given(string.Format(&quot;I have entered {0} into the calculator&quot;, firstValue));         Given(string.Format(&quot;I have entered {0} into the calculator&quot;, secondValue), &quot;And &quot;);         When(string.Format(&quot;I press {0}&quot;, action));         Then(string.Format(&quot;the result should be {0} on the screen&quot;, result));     }      public static IEnumerable&lt;object[]&gt; Excel()     {         return ExcelTestCaseDataReader.FromFile(&quot;Sum.xlsx&quot;).GetArguments();     } } <\/code><\/pre>\n<p>  <\/p>\n<h3>Background \u0438 \u043f\u0440\u0435\u0434\u0443\u0441\u043b\u043e\u0432\u0438\u044f<\/h3>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0434\u043b\u044f \u0446\u0435\u043b\u043e\u0439 \u043f\u0430\u0447\u043a\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u043f\u0440\u0435\u0434\u0443\u0441\u043b\u043e\u0432\u0438\u0439. \u041a\u043e\u043f\u0438\u043f\u0430\u0441\u0442\u0438\u0442\u044c \u0438\u0445 \u0432 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e. \u041d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0434\u0432\u0430 \u043f\u043e\u0434\u0445\u043e\u0434\u0430.<\/p>\n<h4>Background<\/h4>\n<pre><code>Background:  \tGiven Calculator is initialized  @positive Scenario: Add two numbers \tGiven I have entered 1 into the calculator \tWhen I press sin \tThen the result should be 0.841470984807896 on the screen <\/code><\/pre>\n<p>\u0412 \u0441\u0435\u043a\u0446\u0438\u044e <i>Background<\/i> \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043d\u0435\u0441\u0442\u0438 \u0432\u0441\u0435 \u0431\u043e\u043b\u044c\u0448\u0438\u0435 \u043f\u0440\u0435\u0434\u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0434\u043b\u044f \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432.<\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0442\u0435\u0433\u043e\u0432<\/h4>\n<p>\u041f\u0440\u0435\u0434\u0443\u0441\u043b\u043e\u0432\u0438\u044f \u043c\u043e\u0436\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0449\u0435 \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0442\u0435\u0433\u043e\u0432:  <\/p>\n<pre><code>[Binding] public class Sum : CalcStepsBase {     public Sum(CalculationContext context)         : base(context)     {     }      [BeforeScenario(&quot;calculator&quot;)]     [Given(&quot;Calculator is initialized&quot;)]     public void InitCalculator()     {         Context.Init();     } } <\/code><\/pre>\n<p>  \u041c\u0435\u0442\u043e\u0434, \u043f\u043e\u043c\u0435\u0447\u0435\u043d\u043d\u044b\u0439 \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u043c <i>BeforeScenario<\/i> \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0434 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f. \u0412 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440 \u043f\u0435\u0440\u0435\u0434\u0430\u044e\u0442\u0441\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u044b \u0434\u043b\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u043e\u0431\u043b\u0430\u0441\u0442\u0438 \u0432\u0438\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u041c\u044b \u043f\u043e\u043c\u0435\u0447\u0430\u043b\u0438 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438 \u0442\u0435\u0433\u043e\u043c <i><a href=\"http:\/\/habrahabr.ru\/users\/calculator\/\" class=\"user_link\">calculator<\/a><\/i>. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u0430\u0436\u0434\u044b\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c \u0442\u0430\u043a\u043e\u0433\u043e \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c\u0441\u044f \u043c\u0435\u0442\u043e\u0434 <i>InitCalculator<\/i>.<\/p>\n<h3>\u041e\u0442\u0447\u0435\u0442\u044b<\/h3>\n<p>\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0442\u0447\u0435\u0442, \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0443\u0442\u0438\u043b\u0438\u0442\u0430 specflow.exe \u0438 nunit. \u041d\u0438\u0436\u0435 msbuild-\u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 nunit, \u0430 \u0437\u0430\u0442\u0435\u043c \u0441\u0442\u0440\u043e\u0438\u0442 specflow-\u043e\u0442\u0447\u0435\u0442.  <\/p>\n<pre><code class=\"xml\">&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot; ?&gt;  &lt;Project ToolsVersion=&quot;4.0&quot; DefaultTarget=&quot;Compile&quot; xmlns=&quot;http:\/\/schemas.microsoft.com\/developer\/msbuild\/2003&quot;&gt;     &lt;ItemGroup&gt;         &lt;NUnitAddinFiles Include=&quot;$(teamcity_dotnet_nunitaddin)-2.6.2.*&quot; \/&gt;     &lt;\/ItemGroup&gt;      &lt;PropertyGroup&gt;         &lt;teamcity_build_checkoutDir Condition=&quot; '$(teamcity_build_checkoutDir)' == '' &quot;&gt;.&lt;\/teamcity_build_checkoutDir&gt;         &lt;NUnitHome&gt;C:\/Program Files (x86)\/NUnit 2.6.2&lt;\/NUnitHome&gt;         &lt;NUnitConsole&gt;&quot;$(NUnitHome)\\bin\\nunit-console.exe&quot;&lt;\/NUnitConsole&gt;         &lt;testResultsTxt&gt;&quot;$(teamcity_build_checkoutDir)\\TestResult.txt&quot;&lt;\/testResultsTxt&gt;         &lt;testResultsXml&gt;&quot;$(teamcity_build_checkoutDir)\\TestResult.xml&quot;&lt;\/testResultsXml&gt;         &lt;projectFile&gt;&quot;$(teamcity_build_checkoutDir)\\Etna.QA.SpecFlow.Examples\\Etna.QA.SpecFlow.Examples.csproj&quot;&lt;\/projectFile&gt;         &lt;SpecflowExe&gt;&quot;C:\\Program Files (x86)\\TechTalk\\SpecFlow\\specflow.exe&quot;&lt;\/SpecflowExe&gt;     &lt;\/PropertyGroup&gt;      &lt;Target Name=&quot;RunTests&quot;&gt;         &lt;MakeDir Directories=&quot;$(NUnitHome)\/bin\/addins&quot; \/&gt;         &lt;Copy SourceFiles=&quot;@(NUnitAddinFiles)&quot; DestinationFolder=&quot;$(NUnitHome)\/bin\/addins&quot; \/&gt;         &lt;Exec Command=&quot;$(NUnitConsole) \/domain:multiple \/labels \/out=$(testResultsTxt) \/xml=$(testResultsXml) $(projectFile)&quot; ContinueOnError=&quot;true&quot;\/&gt;             &lt;\/Target&gt;      &lt;Target Name=&quot;SpecflowReports&quot;&gt;         &lt;Exec Command=&quot;$(SpecflowExe) nunitexecutionreport $(projectFile) \/xmlTestResult:$(testResultsXml) \/testOutput:$(testResultsTxt) \/out:&quot;$(teamcity_build_checkoutDir)\/SpecFlowExecutionReport.html&quot;&quot;\/&gt;         &lt;Exec Command=&quot;$(SpecflowExe) stepdefinitionreport $(projectFile) \/out:&quot;$(teamcity_build_checkoutDir)\/SpecFlowStepDefinitionReport.html&quot;&quot;\/&gt;     &lt;\/Target&gt; &lt;\/Project&gt; <\/code><\/pre>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0444\u043b\u0430\u0433 <i>\/domain:multiple<\/i>. \u041e\u043d \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 NUnit \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0442\u044c \u0441\u0431\u043e\u0440\u043a\u0443 \u0438\u0437 \u043f\u0430\u043f\u043a\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043e\u043d\u0430 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f. \u0412 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u043e\u0433\u0443\u0442 \u0432\u043e\u0437\u043d\u0438\u043a\u043d\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u0441 \u043a\u043e\u043d\u0444\u0438\u0433\u0430\u043c\u0438.<\/p>\n<h4>\u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u043e\u0442\u0447\u0435\u0442<\/h4>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/509\/f13\/fa7\/509f13fa79a2e29edf6d0fb48b861ecc.png\"\/><\/p>\n<h3>\u0417\u0430\u043f\u0443\u0441\u043a \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e \u0432 Team City<\/h3>\n<p>\u0412 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 \u0431\u0438\u043b\u0434\u0430 \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0435 \u0430\u0440\u0442\u0435\u0444\u0430\u043a\u0442: \u043d\u0430\u0448 \u043e\u0442\u0447\u0435\u0442 \u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/2a8\/3c0\/759\/2a83c0759ae3a19d02e63a780f490af3.png\"\/><\/p>\n<p>  \u0412\u043c\u0435\u0441\u0442\u043e \u0448\u0430\u0433\u0430 \u0441 \u0437\u0430\u043f\u0443\u0441\u043a\u043e\u043c NUnit \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c msbuild-\u0441\u043a\u0440\u0438\u043f\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u0440\u0430\u043d\u0435\u0435:<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/8d5\/7dc\/b6c\/8d57dcb6c0478fb8bfd8cbc624eaa010.png\"\/><\/p>\n<h4>\u0412 Team City \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0432\u0430\u044f \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u0441 \u043e\u0442\u0447\u0435\u0442\u043e\u043c. \u0423 \u043d\u0430\u0441 \u043e\u043d\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/h4>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/1e3\/5fd\/fe4\/1e35fdfe47659f2cbdb0a7bf73be88a8.png\"\/><br \/>  \u0424\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u044b\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u043d\u0435 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0438, \u0437\u0435\u043b\u0435\u043d\u044b\u043c \u2014 \u0443\u0441\u043f\u0435\u0448\u043d\u043e, \u043f\u0440\u043e\u0439\u0434\u0435\u043d\u043d\u044b\u0435, \u043a\u0440\u0430\u0441\u043d\u044b\u043c \u2014 \u0442\u0435\u0441\u0442\u044b \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438.<br \/>  \u0412\u0441\u0435, \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0442\u0440\u0438\u0433\u0433\u0435\u0440 \u043d\u0430 \u0437\u0430\u043f\u0443\u0441\u043a \u0442\u0435\u0441\u0442\u043e\u0432 \u043f\u043e \u0440\u0430\u0441\u043f\u0438\u0441\u0430\u043d\u0438\u044e.<\/p>\n<h3>\u0421\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044f \u0441 \u0442\u0430\u0441\u043a-\u0442\u0440\u0435\u043a\u0435\u0440\u043e\u043c<\/h3>\n<p>TechTalk \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0441\u0432\u043e\u0439 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u043e\u0434\u0443\u043a\u0442 <a href=\"http:\/\/www.speclog.net\/\">SpecLog<\/a> \u0434\u043b\u044f \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u0438 \u0441\u0432\u044f\u0437\u0438 \u0441 \u0442\u0430\u0441\u043a-\u0442\u0440\u0435\u043a\u0435\u0440\u0430\u043c\u0438. \u041d\u0430\u043c \u043e\u043d \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u0435\u043b \u043f\u043e \u0440\u044f\u0434\u0443 \u043f\u0440\u0438\u0447\u0438\u043d. \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u0440\u0430\u0431\u043e\u0442\u0430\u044e \u043d\u0430\u0434 \u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u044c\u044e \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0445 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0435\u0432 SpecFlow \u0441 \u0442\u0435\u0441\u0442-\u043a\u0435\u0439\u0441\u0430\u043c\u0438 \u0432 TFS. \u0421 Update 2 \u0432 TFS \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0442\u0435\u0433\u0438. \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u0438\u0434\u0435\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044f \u0432 \u0430\u043d\u043d\u043e\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f \u0441\u0432\u044f\u0437\u0438 \u0441 \u0442\u0430\u0441\u043a-\u0442\u0440\u0435\u043a\u0435\u0440\u043e\u043c, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440: <i>@b8924<\/i>, <i>tc345<\/i>. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u044f\u0432\u0438\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0435\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0448\u0443 \u043e\u0431 \u044d\u0442\u043e\u043c.    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/182032\/\"> http:\/\/habrahabr.ru\/post\/182032\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435\u043c <a href=\"http:\/\/habrahabr.ru\/company\/etnasoft\/blog\/166747\/\">\u043f\u0435\u0440\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u0438<\/a> \u0438 \u0440\u0430\u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u00ab\u0438\u0441\u043f\u043e\u043b\u043d\u044f\u0435\u043c\u043e\u0439 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0435\u0439\u00bb \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <a href=\"http:\/\/www.specflow.org\/specflownew\/\">SpecFlow<\/a>.<\/p>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u043f\u043b\u0430\u0433\u0438\u043d \u043a Visual Studio (\u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043e\u0444\u0438\u0446\u0438\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0430\u0439\u0442\u0430) \u0438 \u043f\u0430\u043a\u0435\u0442 SpecFlow (\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0437 <a href=\"http:\/\/www.nuget.org\/packages\/SpecFlow\">nuget<\/a>).<\/p>\n<p>  \u0418\u0442\u0430\u043a, \u043d\u0430\u0448 Product Owner \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u2026  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-182032","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182032","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=182032"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/182032\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=182032"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=182032"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=182032"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}