unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: muradm <mail@muradm.net>
To: Csepp <raingloom@riseup.net>
Cc: rekado@elephly.net, 63198@debbugs.gnu.org, maxim.cournoyer@gmail.com
Subject: bug#63198: End-to-end tests Was: bug#63198: cups-service-type uses PAM-enabled 'cups' by default which prevents authentication
Date: Wed, 24 May 2023 14:28:26 +0300	[thread overview]
Message-ID: <87edn67yfo.fsf@muradm.net> (raw)
In-Reply-To: <87wn0youe0.fsf@riseup.net>

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]


Csepp <raingloom@riseup.net> writes:

> Ricardo Wurmus <rekado@elephly.net> writes:
>
> It might be a good idea to have more end-to-end tests in Guix 
> that would
> check if common operations like "finding a printer" work.  It's 
> quite a
> bit of up-front effort, but it's better than relying on manual 
> testing
> and could make things smoother in the long run.
> SUSE has a cool testing framework based on screen captures, 
> maybe it
> could be adapted to Guix?

There is already test framework within Guix. You may find 
information at:
https://guix.gnu.org/manual/en/guix.html#Running-the-Test-Suite

In short, there are unit tests and system tests which can be found 
at
gnu/tests/*.scm for inspiration. It is just a matter of 
time/resource
availability to write tests.

For cups specifically, you may not need screen capture processing 
or
similar. It should be enough to use CLI tools available out of the 
box.

muradm

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

      reply	other threads:[~2023-05-24 11:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-01  3:08 bug#63198: cups-service-type uses PAM-enabled 'cups' by default which prevents authentication Maxim Cournoyer
2023-05-03 12:46 ` Maxim Cournoyer
2023-05-13 13:43 ` muradm
2023-05-13 13:48   ` muradm
2023-05-15 15:13     ` Maxim Cournoyer
2023-05-15 15:12   ` Maxim Cournoyer
2023-05-13 18:38 ` bug#63198: [PATCH] services: cups: Add cups PAM service muradm
2023-05-15 15:24   ` bug#63198: cups-service-type uses PAM-enabled 'cups' by default which prevents authentication Maxim Cournoyer
2023-05-16  5:17     ` muradm
2023-05-24  0:46       ` Maxim Cournoyer
2023-05-24 11:37         ` muradm
2023-05-23 22:14 ` Ricardo Wurmus
2023-05-24 11:07   ` bug#63198: End-to-end tests Was: " Csepp
2023-05-24 11:28     ` muradm [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edn67yfo.fsf@muradm.net \
    --to=mail@muradm.net \
    --cc=63198@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.com \
    --cc=raingloom@riseup.net \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).