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


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

How to realize different test categories?

From c.buhtz@posteo.jp
Newsgroups linux.debian.maint.python
Subject How to realize different test categories?
Date 2023-07-28 14:20 +0200
Message-ID <GWuBP-3mJQ-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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".

One approach in my mind is to add one new make target "make unittests" 
containing real unittests able to run on Debians build system in a 
chroot.

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.

Or any other idea on your site?

Kind
Christian

Back to linux.debian.maint.python | Previous | Next — 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