Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6026911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T04:30:51+00:00 2026-05-23T04:30:51+00:00

I have a large tests suite, that needs to be run before I push

  • 0

I have a large tests suite, that needs to be run before I push my changes back to the repo used by CI. Ideally I would like to use the following workflow:

  • Create branch to develop feature or correct bug;
  • Develop the feature in this branch using TDD, but running only the most obviously related tests;
  • After finished developing, run the whole test suite;
  • While I’m running the whole test suite (20 minutes), I would like to begin another feature in another branch.

If I do a git checkout, my whole working copy is changed to that branch, so I can’t run my tests. Maybe I should use 2 working copies, but I would prefer a more elegant solution.

edit: typo

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T04:30:51+00:00Added an answer on May 23, 2026 at 4:30 am

    You will have to make a second working copy for this; Consider that your next feature to implement may not be a new branch but instead uses an existing branch or a branch based on a different branch (anything that means you would be checking out code that reverts your last feature implementation during the test run).

    You could make a script to handle all of it — perhaps you finish development of the current feature, then run the “buildandtesteverything {featurebranchname}” script. Script will move up to the directory that contains the root of your git repository, clones the repository into a temporary folder (checking out the named branch), and then executes your tests and cleans up after itself.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a large suite of tests that takes about half an hour to
I have a very large code base that contains extensive unit tests (using CppUnit).
I have a large database and would like to select table names that have
I have a 'suite' of VS2005 unit tests that attach a db as part
I have an automated test running on my program that generates some large MPG
I have large batches of XHTML files that are manually updated. During the review
I'm developing a website in PHP and I have large JS files that I
I have a large codebase that targetted Flash 7, with a lot of AS2
I am configuring JUnit in Ant so that unit tests will be run on
I have written an application that unit tests our hardware via a internet browser.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.