Best place to learn how to write tests which work under kyua?

Garrett Cooper yaneurabeya at gmail.com
Thu Jul 24 20:26:12 UTC 2014


On Thu, Jul 24, 2014 at 1:02 PM, Julio Merino <jmmv at freebsd.org> wrote:
> On Tue, Jun 10, 2014 at 6:06 PM, Craig Rodrigues <rodrigc at 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


More information about the freebsd-testing mailing list