git - Switching branches while running python unit tests -


Compared to this specific code problem, more of a general question about security in testing. Say that I have a feature code for my git repository, before I run a suite of unit tests before merging it back into the development or master but these unit tests take some time (On an hour's order). So I usually stop the trial and then change the branches in my repository so that I can work on coding the other things ... I am assuming this because the .pc files have already been created?

I recommend that you run the appropriate execution execution like a continuous integration system or such as a test Excluding the entire source tree in the middle of can cause strange problems.

Also consider that your test suite includes both unit testing and integration test both unit tests should be fast! There is a runtime slow unit test of 0.1 seconds. Test which touches the file system, communicates with a database, sends packets over the network, and so on the integration tests are done. You can scale those backs to run once or twice a day.


Comments