title: How to change the Symfony2 Behat Bundle default Feature context file (FeatureContext.php by default)
body: <p>I use Symfony2 <a href="https://github.com/Behat/BehatBundle/tree/v1.0.0" rel="nofollow">BehatBundle</a>, version=v1.0.0 and I want to <strong>change the name of the main feature context file</strong>. Now when I run the behat using command:</p>
  
  <pre><code>app/console --env=test behat @NameOfMyBundle
  </code></pre>
  
  <p>file src/NameOfMyBundle/Features/Context/<strong>FeatureContext.php</strong> is used</p>
  
  <p>I want to use custom main feature file, for example src/NameOfMyBundle/Features/Context/<strong>MyCustomContext.php</strong> but I don't know how. According to the <a href="http://docs.behat.org/guides/4.context.html#context-class-requirements" rel="nofollow">behat documentation</a>:</p>
  
  <blockquote>
    <p>By convention, the context class should be called FeatureContext, but this could be easily changed through the cli configuration.</p>
  </blockquote>
  
  <p>However, this configuration option is nowhere to be found. I tried something like:</p>
  
  <pre><code>app/console --env=test behat @NameOfMyBundle --context "MyCustomContext"
  </code></pre>
  
  <p>but it fails.</p>
  
  <p>Does anyone know how to change this main feature context file (preferably, using cli)?</p>
  
  <p>Thanks!</p>