From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: how to create and test a new service definition Date: Sat, 13 May 2017 16:40:03 +0200 Message-ID: <87vap4zupo.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d9YDJ-0004Sf-Aj for guix-devel@gnu.org; Sat, 13 May 2017 10:40:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d9YDG-0004p4-9Z for guix-devel@gnu.org; Sat, 13 May 2017 10:40:09 -0400 In-Reply-To: (Vincent Legoll's message of "Sat, 13 May 2017 12:06:24 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vincent Legoll Cc: guix-devel Hello, Vincent Legoll 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 =E2=80=98operating-system=E2= =80=99 declaration that uses the new service and to instantiate it in a VM with =E2=80=98guix system vm=E2=80=99. Once you=E2=80=99ve done that, you can also write an automated test for the= new service; see . HTH! Ludo=E2=80=99.