Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2014 13:26:11 -0700
From:      Garrett Cooper <yaneurabeya@gmail.com>
To:        Julio Merino <jmmv@freebsd.org>
Cc:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>
Subject:   Re: Best place to learn how to write tests which work under kyua?
Message-ID:  <CAGHfRMCXnFBKPhiZteEY1%2BrWr8m--y55ZsD38pVOCMJKSFhgVQ@mail.gmail.com>
In-Reply-To: <CAFY7cWDNyujpy3aWxO3F0bE9PwApnvxr3Df7nyVR_ziO6wTOaw@mail.gmail.com>
References:  <CAG=rPVd8JBGoPg9F%2BwkRZ63m4nKgO-uWybD=hPSpCaPh_ZH3Uw@mail.gmail.com> <CAFY7cWDNyujpy3aWxO3F0bE9PwApnvxr3Df7nyVR_ziO6wTOaw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 24, 2014 at 1:02 PM, Julio Merino <jmmv@freebsd.org> wrote:
> On Tue, Jun 10, 2014 at 6:06 PM, Craig Rodrigues <rodrigc@freebsd.org> wrote:
>> Hi,
>>
>> Where is the best place to learn about starting from
>> a clean slate, writing new tests which execute under kyua,
>> and how to structure the Kyuafile?
>> Specifically, I want to use kyua in my own project, which is
>> not part of the FreeBSD source tree.
>
> Then... this question belongs in kyua-discuss, doesn't it? ;-P
>
>> I looked at these links:
>>
>> http://wiki.netbsd.org/kyua/
>> https://wiki.freebsd.org/TestingFreeBSD
>> https://wiki.freebsd.org/TestSuite
>> http://www.bsdcan.org/2014/schedule/events/462.en.html
>>
>> While those links gave good general overviews of kyua,
>> and also how to use it within the structure of /usr/tests on
>> FreeBSD, I did not get a clear idea of how to use kyua
>> in my own project.
>
> I thought I had something in the Kyua wiki pages, but I guess not.
> Meh, I'll have to write some other kind of documentation or
> introductory article... documentation is currently not very good, I
> agree.

A topic like this is generally done in the handbook.

> What kind of text would help you most? A step-by-step tutorial maybe?
> Big parts of the process may be tied to the build system you use
> though, and I only know the BSD build systems and Automake/autoconf...

I would probably focus on examples of how to integrate things in
FreeBSD in the FreeBSD handbook.

Thanks!
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMCXnFBKPhiZteEY1%2BrWr8m--y55ZsD38pVOCMJKSFhgVQ>