How do I run tests sequentially considering the sa...
# general
s
How do I run tests sequentially considering the same
python_tests
?
c
See if you find anything useful in this thread: https://pantsbuild.slack.com/archives/C046T6T9U/p1643829377652609 🙂
s
Hmm... I mean, I can use that... But doesn't look cool 🤔 If I have
tests/potato/test_1.py
,
tests/potato/test_2.py
, considering that they are under the same
python_tests
, and I want
test_1.py
, and
test_2.py
to run sequentially... That's my only option?
c
Do you want to run more tests, in parallell, and only these that share the same
python_tests
target to run in sequence?
(in the same
./pants
invocation?)
Otherwise I think that https://www.pantsbuild.org/docs/reference-global#section-process-execution-local-parallelism or its remote counter part, does what you’re looking for..
s
Do you want to run more tests, in parallell, and only these that share the same 
python_tests
 target to run in sequence?
yes
(in the same 
./pants
 invocation?)
yes
c
Ah..
w
is it sequentially: • as in: “in this order”, or • “not concurrently”, as in, in any order, just not at the same time ?
s
not concurrently
w
got it. yea, then it’s the same as that thread i think.
h
Agreed. Not concurrently (which then implies sequentially) was my need. And I think that process parallelism flag works fine for our needs for now.