title: How to group together certain tests or files when doing a run in Cypress?
body: <p>I am currently running Cypress and I have folders inside of it, where I have tests located for different applications. 
  I have a folder entitled "smhw-qa" which contains sub-folders and tests files for this specific application. </p>
  
  <p>This directory <code>apps</code> will also include other applications too in future.</p>
  
  <h1>What I wish to do</h1>
  
  <p>In order to avoid having to run <strong>every</strong> test for a run, I wish to only run this specific folder. The location of the folder is as such:</p>
  
  <pre><code>'cypress/integration/apps/smhw-qa'
  </code></pre>
  
  <p>Over time, there will be more folders and tests added to the <code>apps</code> directory.</p>
  
  <p>I <strong>am</strong> familiar with how to run a specific file, so doing the following works:</p>
  
  <pre><code>npx cypress run --spec 'cypress/integration/apps/smhw-qa/banners_promos_global/global_search.js'
  </code></pre>
  
  <p><strong>How can I specify to Cypress which folder to run specifically when I use the <code>npx cypress -run</code> command?</strong> </p>
  
  <h1>What I have tried already</h1>
  
  <p>To run a specific test file I tried:</p>
  
  <pre><code>npx cypress run --project 'cypress/integration/apps/smhw-qa'
  </code></pre>
  
  <p>But this provides an error instead:</p>
  
  <pre><code>Can't run because no spec files were found.
  
  We searched for any files inside of this folder:
  
  /Users/jaswindersingh/Documents/cypress-automation/automation/cypress/integration/apps/smhw-qa/cypress/integration
  </code></pre>
  
  <p>Running specific sets of tests by their folders will be much easier for me, and will save time when running a specific suite of tests on our CI platform for example. I will also not need to specify the individual files since this is time-consuming. </p>
  
  <p>It would also mean I can split out my tests and run them on different machines</p>
  
  <p>Do I need to put anything into my test files, or inside of <code>cypress.json</code> or modify anything else, or can this be achieved through the terminal? 
  What options must I use instead? </p>
  
  <p>Thanks </p>