<?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>Unit test with nrf52+ Segger</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49554/unit-test-with-nrf52-segger</link><description>Hello, I am developing a big project with the nrf52832 + several peripheral devices and I want to integrate the notion of unit test to my project (in Segger embedded studio). 
 
 
 
 
 I have already done some unit-tests with python but never in embedded</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 Nov 2019 21:27:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49554/unit-test-with-nrf52-segger" /><item><title>RE: Unit test with nrf52+ Segger</title><link>https://devzone.nordicsemi.com/thread/219549?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 21:27:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e781773-30bf-4d82-a3c9-de81f4d8567d</guid><dc:creator>Moustapha DIENG</dc:creator><description>&lt;p&gt;Thank for you answer. It help me to know that nordic team use Unity. I started using Ceedling (Unity + Cmock). I have an other question about how did you mock some headers like app_timer.h . I will open a new ticket for that. You can close this one. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unit test with nrf52+ Segger</title><link>https://devzone.nordicsemi.com/thread/197620?ContentTypeID=1</link><pubDate>Wed, 10 Jul 2019 12:33:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c380bc6-791c-4704-b026-db832257455b</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;For the nRF5 SDK we do testing at all levels (using the V model). Modules in our SDK that are not labeled &amp;quot;experimental&amp;quot; are considered to be fully production tested from our side.&lt;/p&gt;
&lt;p&gt;We have kits connected to a PC and use nrfjprog to program the kits with the firmware to test. We have a dongle connected to the PC and use pc-ble-driver (or similar) for testing BLE communication. We also use controllable USB hubs (where power can be turned on and off programatically) for resetting kits, etc. This means all of the steps for testing can be command line scripted.&lt;/p&gt;
&lt;p&gt;For unit tests we use Unity. Have a look at the thread &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/22674/changing-unity-printf-to-segger-rtt#post-id-154982"&gt;Changing unity printf to Segger RTT&lt;/a&gt; for a bit more information and for a test example (from SDK 13.0.0, but the principles are the same.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>