<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Has anyone tried using CppUTest with a Zephyr/nRFConnect SDK based project for unit testing?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119610/has-anyone-tried-using-cpputest-with-a-zephyr-nrfconnect-sdk-based-project-for-unit-testing</link><description>I know that Zephyr supports its own test framework ZTest, but I have used CppUTest extensively on past projects. 
 I&amp;#39;m also using Quantum Leaps QP (for which there is a Zephyr port) in my project for all of the state machines and there is a nice third</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Mar 2025 08:11:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119610/has-anyone-tried-using-cpputest-with-a-zephyr-nrfconnect-sdk-based-project-for-unit-testing" /><item><title>RE: Has anyone tried using CppUTest with a Zephyr/nRFConnect SDK based project for unit testing?</title><link>https://devzone.nordicsemi.com/thread/526681?ContentTypeID=1</link><pubDate>Tue, 11 Mar 2025 08:11:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c7b8aa5-85cd-4361-be37-d36fb3e816ff</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;I hope it will work for you&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Has anyone tried using CppUTest with a Zephyr/nRFConnect SDK based project for unit testing?</title><link>https://devzone.nordicsemi.com/thread/526587?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 14:44:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a85d856d-cf46-4ece-8572-60085488e0b7</guid><dc:creator>rwl</dc:creator><description>&lt;p&gt;Thank you for the reply.&amp;nbsp; I will investigate if this option will work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Has anyone tried using CppUTest with a Zephyr/nRFConnect SDK based project for unit testing?</title><link>https://devzone.nordicsemi.com/thread/526341?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2025 11:57:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d326ff0-eb32-4df6-b215-f97ff9c5bd93</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I could not find anything I&amp;#39;m afraid, so I honestly don&amp;#39;t know if it will work. Internally we use twister/ztest where we would mock the hall layer where needed. What could be an option is to build for the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/native/native_sim/doc/index.html#native-sim"&gt;Native_sim&lt;/a&gt;board if you only want to test your code and don&amp;#39;t care about the hardware&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>