[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to create and test a new service definition
From: |
Ludovic Courtès |
Subject: |
Re: how to create and test a new service definition |
Date: |
Sat, 13 May 2017 16:40:03 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Hello,
Vincent Legoll <address@hidden> 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’.