← Back to team overview

sts-sponsors team mailing list archive

Re: [Merge] ~bjornt/maas:perftest-no-implicit-path into maas:master

 

> > bin/test.perf always passed src/maasperf to pyttest. This made it impossible
> to run only a single test.
> 
> It's not impossible, pytest's -k flag lets you select tests (see
> https://docs.pytest.org/en/6.2.x/usage.html#specifying-tests-selecting-tests):
> 
> $ bin/test.perf -s -v -k test_perf_list_machines_Machine

Sure, I can change the commit message. What I actually meant is that you can't use
all the usual ways of choosing which tests to run. 99% of the time when I filter
tests I supply a file. That doesn't work with -k.
-- 
https://code.launchpad.net/~bjornt/maas/+git/maas/+merge/433441
Your team MAAS Committers is subscribed to branch maas:master.



References