Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #15076
| From | Andrey Rakhmatullin <wrar@wrar.name> |
|---|---|
| Newsgroups | linux.debian.maint.python |
| Subject | Re: How to realize different test categories? |
| Date | 2023-07-28 15:40 +0200 |
| Message-ID | <GWvRf-3npc-11@gated-at.bofh.it> (permalink) |
| References | <GWuBP-3mJQ-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jul 28, 2023 at 12:14:33PM +0000, c.buhtz@posteo.jp wrote: > Hello, > > I'm upstream maintainer (but not founder) of "backintime". > > I realized that most of the tests in my test suite are integration or system > tests which are impossible to handle by Debians build server and testing > system (how do you name it?). > My package do use something like "./configure && make && make test && sudo > make install" to test and build. Works fine on a local Debian box. > > I would like to have an advice from you as DPT how I should separate my > tests into the two categories "run by debian" and "don't run by debian". In the context of DPT I would use pytest marks. For poorer test systems it's possible that there is no answer except splitting the tests into separate things and providing separate commands for running those. > Another approach in my mind is asking for environment variables that might > exists on a Debian build box? I know this approach from TravisCI and > ReadTheDocs. You shouldn't check for Debian-specific envvars in upstream sources.
Back to linux.debian.maint.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to realize different test categories? c.buhtz@posteo.jp - 2023-07-28 14:20 +0200
Re: How to realize different test categories? Timo Röhling <roehling@debian.org> - 2023-07-28 15:00 +0200
Re: How to realize different test categories? c.buhtz@posteo.jp - 2023-07-28 15:10 +0200
Re: How to realize different test categories? Andrey Rakhmatullin <wrar@wrar.name> - 2023-07-28 15:40 +0200
Re: How to realize different test categories? Paul Wise <pabs@debian.org> - 2023-07-29 06:20 +0200
csiph-web