title: Intellij, cucumber test and two spring Context Configuration
body: <p>My project has two different cucumber test and each one needs a different spring context configuration.</p>
  
  <p>The problem I have is that when I run each test individually from  Intellij, they load the right Spring Context and the tests are passing, but I press run all test, none of them are passing. </p>
  
  <p>Running a maven test, both test are passing.</p>
  
  <p>this is my code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@RunWith(FCSCucumber.class)
  @Cucumber.Options(strict = true
  //        , tags = {"~@ignore"}
  //        , tags = {"@Only"}
          , glue ="feature.scenario1"
          , features = "src/test/resources/feature/scenario1/"
  )
  @FCSApplicationProperties(commonProps="config/scenario1/exec.common.properties",
          environmentProps="src/test/resources/scenario1-test.properties")
  public class TesScenario1Features {
   
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@ContextConfiguration("/cucumber-scenario1.xml")
  public class scenario1Steps {
  ......
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@RunWith(FCSCucumber.class)
  @Cucumber.Options(strict = true
  //        , tags = {"~@ignore"}
  //        , tags = {"@Only"}
          , glue ="feature.scenario2"
          , features = "src/test/resources/feature/scenario2/"
  )
  @FCSApplicationProperties(commonProps="config/scenario2/exec.common.properties",
          environmentProps="src/test/resources/scenario2-test.properties")
  public class TesScenario2Features {
   
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>@ContextConfiguration("/cucumber-scenario2.xml")
  public class scenario2Steps {
  ......
  }</code></pre>
  </div>
  </div>
  </p>
  
  <p>Thank you very much for your help</p>