<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/tests/atf_python/sys/Makefile, branch release/14.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F14.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2024-04-29T14:11:07Z</updated>
<entry>
<title>tests: move atf_python/sys/ into the tests package</title>
<updated>2024-04-29T14:11:07Z</updated>
<author>
<name>Lexi Winter</name>
<email>lexi@le-Fay.ORG</email>
</author>
<published>2024-04-16T11:18:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=59e7c575c5449044164b3814d9c898de3e910ad9'/>
<id>urn:sha1:59e7c575c5449044164b3814d9c898de3e910ad9</id>
<content type='text'>
Reviewed by:	markj
MFC after:	1 week
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1174

(cherry picked from commit e1e636193db45630c7881246d25902e57c43d24e)
</content>
</entry>
<entry>
<title>ipfw(8): add ioctl/instruction generation tests</title>
<updated>2023-06-13T11:55:37Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-06-11T08:12:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f44a47fd07924afc035991af15d84e6585dea4f'/>
<id>urn:sha1:9f44a47fd07924afc035991af15d84e6585dea4f</id>
<content type='text'>
Differential Revision: https://reviews.freebsd.org/D40488
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>tests: split netlink.py into multiple files to impove maintainability.</title>
<updated>2023-04-01T19:31:38Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2023-03-31T09:55:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fee65b7e21eeeb625dcaba8cf2b9e0cf5af83498'/>
<id>urn:sha1:fee65b7e21eeeb625dcaba8cf2b9e0cf5af83498</id>
<content type='text'>
This diff does not contain any functional changes.
Its sole purpose is splitting netlink.py into smaller chunks.
The new code simplifies the upcoming generic netlink support
introduction.

MFC after:	2 weeks
Differential Revision: https://reviews.freebsd.org/D39365
</content>
</entry>
<entry>
<title>testing: Add basic atf support to pytest.</title>
<updated>2022-06-25T19:25:15Z</updated>
<author>
<name>Alexander V. Chernikov</name>
<email>melifaro@FreeBSD.org</email>
</author>
<published>2022-06-25T19:01:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64'/>
<id>urn:sha1:8eb2bee6c0f4957c6c1cea826e59cda4d18a2a64</id>
<content type='text'>
Implementation consists of the pytest plugin implementing ATF format and
a simple C++ wrapper, which reorders the provided arguments from ATF format
to the format understandable by pytest. Each test has this wrapper specified
after the shebang. When kyua executes the test, wrapper calls pytest, which
loads atf plugin, does the work and returns the result. Additionally, a
separate python "package", `/usr/tests/atf_python` has been added to collect
code that may be useful across different tests.

Current limitations:
* Opaque metadata passing via X-Name properties. Require some fixtures to write
* `-s srcdir` parameter passed by the runner is ignored.
* No `atf-c-api(3)` or similar - relying on pytest framework &amp; existing python libraries
* No support for `atf_tc_&lt;get|has&gt;_config_var()` &amp; `atf_tc_set_md_var()`.
 Can be probably implemented with env variables &amp; autoload fixtures

Differential Revision: https://reviews.freebsd.org/D31084
Reviewed by:	kp, ngie
</content>
</entry>
</feed>
