Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2014 15:06:50 -0700
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        "freebsd-testing@freebsd.org" <freebsd-testing@freebsd.org>, Julio Merino <jmmv@freebsd.org>
Subject:   Best place to learn how to write tests which work under kyua?
Message-ID:  <CAG=rPVd8JBGoPg9F%2BwkRZ63m4nKgO-uWybD=hPSpCaPh_ZH3Uw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.

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.

The only thing that started to clear things up for me was by
looking in:
src/share/examples/tests/tests/plain/

and reading some of the kyua man pages.


Is there another source of information that I can look at
for how to write tests which work under kyua


--
Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVd8JBGoPg9F%2BwkRZ63m4nKgO-uWybD=hPSpCaPh_ZH3Uw>