Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #15076

Re: How to realize different test categories?

Path csiph.com!1.us.feeder.erje.net!3.us.feeder.erje.net!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From Andrey Rakhmatullin <wrar@wrar.name>
Newsgroups linux.debian.maint.python
Subject Re: How to realize different test categories?
Date Fri, 28 Jul 2023 15:40:01 +0200
Message-ID <GWvRf-3npc-11@gated-at.bofh.it> (permalink)
References <GWuBP-3mJQ-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Fri Jul 28 13:32:59 2023
Old-Return-Path <wrar@wrar.name>
X-Amavis-Spam-Status No, score=-7.11 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FOURLA=0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
MIME-Version 1.0
Content-Type text/plain; charset=utf-8
Content-Disposition inline
X-Mailing-List <debian-python@lists.debian.org> archive/latest/20994
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/ZMPDdsK97/ivVhie@durkon.wrar.name
Approved robomod@news.nic.it
Lines 22
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Fri, 28 Jul 2023 15:32:38 +0200
X-Original-Message-ID <ZMPDdsK97/ivVhie@durkon.wrar.name>
X-Original-References <cd074a0c7a4672bd4d3122d4586066ed@posteo.de>
Xref csiph.com linux.debian.maint.python:15076

Show key headers only | View raw


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


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