azure-cli-dev-tools icon indicating copy to clipboard operation
azure-cli-dev-tools copied to clipboard

azdev test -x, --exitfirst exit instantly on first error or failed test.

Open qwordy opened this issue 5 years ago • 4 comments

pytest has a parameter

-x, --exitfirst       exit instantly on first error or failed test.

while azdev test has a opposite parameter

--no-exitfirst     : Do not exit on first error or failed test.

pytest is the underlying tool of azdev. I suggest keep the same with pytest. And --no-exitfirst breaks the original behavior.

qwordy avatar Jul 16 '20 07:07 qwordy

Any update?

qwordy avatar Aug 10 '20 05:08 qwordy

--no-exitfirst was introduced in https://github.com/Azure/azure-cli-dev-tools/pull/191. I agree with @qwordy that by default we should not exit on first error and continue all tests.

jiasli avatar Sep 08 '20 01:09 jiasli

Any update?

qwordy avatar Oct 10 '20 07:10 qwordy

@haroldrandom

qwordy avatar Nov 19 '20 08:11 qwordy