From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: how to create and test a new service definition
Date: Sat, 13 May 2017 16:40:03 +0200 [thread overview]
Message-ID: <87vap4zupo.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=reVoDwxmHQkbbOiaGYevY-jGxghSNUozYVKvnQm8G+6w@mail.gmail.com> (Vincent Legoll's message of "Sat, 13 May 2017 12:06:24 +0200")
Hello,
Vincent Legoll <vincent.legoll@gmail.com> skribis:
> I want to define a new shepherd service, I've read the doc
> and wonder how I can test my new code. Is this documented
> somewhere ?
The best way to test your code is to write an ‘operating-system’
declaration that uses the new service and to instantiate it in a VM with
‘guix system vm’.
Once you’ve done that, you can also write an automated test for the new
service; see <https://gnu.org/s/guix/news/guixsd-system-tests.html>.
HTH!
Ludo’.
next prev parent reply other threads:[~2017-05-13 14:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-13 10:06 how to create and test a new service definition Vincent Legoll
2017-05-13 14:40 ` Ludovic Courtès [this message]
2017-05-13 15:24 ` Vincent Legoll
2017-05-13 20:06 ` Ludovic Courtès
2017-05-14 7:56 ` Catonano
2017-05-14 9:04 ` ng0
2017-05-14 11:48 ` ng0
2017-05-14 8:44 ` Vincent Legoll
2017-05-14 9:53 ` Catonano
2017-05-15 13:26 ` Ludovic Courtès
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87vap4zupo.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=vincent.legoll@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.