Pipeline is running test cases twice after moving to new folder

Copper Contributor


I'm running test cases (written i SpecFlow/C#) on Azure Pipeline connected to an Azure agent on an on-premise PC.

I've recently moved out some feature-files (test cases) to a subfolder and it works great when i run locally. But when I run the same code in the pipeline the moved test cases are being run twice. I've disabled some test cases (by commenting out the content in the feature file) and run the pipeline, which strangely still running the disabled test case (but only once this time).

It seems that Azure uses some cashed data when running and doesn't really notice all committed changes.

Have any of you seen that problem before?

0 Replies