<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>测试 on FlagGems</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/testing/</link><description>Recent content in 测试 on FlagGems</description><generator>Hugo</generator><language>zh-cn</language><atom:link href="https://flagos-ai.github.io/FlagGems/zh-cn/testing/index.xml" rel="self" type="application/rss+xml"/><item><title>测试 Python 算子</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/testing/unittest/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/zh-cn/testing/unittest/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;!--
# Testing Python Operators

*FlagGems* uses `pytest` for operator accuracy testing and performance benchmarking.
It leverages Triton's `triton.testing.do_bench` for kernel-level performance evaluation.
--&gt;
&lt;h1 id="测试-python-算子"&gt;测试 Python 算子&lt;a class="anchor" href="#%e6%b5%8b%e8%af%95-python-%e7%ae%97%e5%ad%90"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;FlagGems&lt;/em&gt; 使用 &lt;code&gt;pytest&lt;/code&gt; 来驱动算子精度测试和性能基准测试。
项目使用 Triton 的 &lt;code&gt;triton.testing.do_bench&lt;/code&gt; 来执行内核层级的性能评估。&lt;/p&gt;</description></item><item><title>单元测试覆盖率</title><link>https://flagos-ai.github.io/FlagGems/zh-cn/testing/coverage/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://flagos-ai.github.io/FlagGems/zh-cn/testing/coverage/</guid><description>&lt;!--
 Copyright 2026 FlagOS Contributors

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 --&gt;
&lt;!--
# Unit-test coverage
--&gt;
&lt;h1 id="单元测试覆盖率"&gt;单元测试覆盖率&lt;a class="anchor" href="#%e5%8d%95%e5%85%83%e6%b5%8b%e8%af%95%e8%a6%86%e7%9b%96%e7%8e%87"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;(TBD)&lt;/p&gt;</description></item></channel></rss>