<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>MCUXpresso GeneralのトピックRe: Unit testing with Unity in MCUXpresso</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/1179890#M4016</link>
    <description>&lt;P&gt;Hi!&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I am quite new to unit testing in embedded environment. I am using MCUXpresso with&amp;nbsp;mimxrt1064. Could you instruct me where to get started in the configuration? What kind of changes you had to make to make Unity&amp;amp;Ceedling work?&lt;BR /&gt;Br, Kaisa&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2020 06:32:11 GMT</pubDate>
    <dc:creator>Gamka</dc:creator>
    <dc:date>2020-11-09T06:32:11Z</dc:date>
    <item>
      <title>Unit testing with Unity in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848548#M1198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is anyone using Unity or a similar framework for unit testing within MCUXpresso?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I realize there's no full-chip simulation available.&amp;nbsp; What I'm after at the moment is just the ability to test pure functions on the host system, probably under MinGW.&amp;nbsp; I've demonstrated that I can run Unity tests in MCUX in a project created to use the MinGW toolchain, and it looks like I can set up a build configuration in a Kinetis project to use MinGW, but I figure it might be asking for trouble to mix things like that if it's not something NXP is testing and the managed make system might be difficult to work with.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Worst case, I could just set up my unit tests entirely separate from the MCUX project and kick them off as an external tool.&amp;nbsp; I would prefer to be able to maintain my tests side by side with the actual code, switch back and forth between the two easily, and run the tests and see results easily.&amp;nbsp; There are some Eclipse plugins that might work for some of that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe someone at NXP could explain how the managed make system works?&amp;nbsp; That might make it easier to figure out how to get it to play nice with a unit test framework.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2018 05:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848548#M1198</guid>
      <dc:creator>scottm</dc:creator>
      <dc:date>2018-11-19T05:25:59Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing with Unity in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848549#M1199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Scott &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/scottmiller"&gt;scottmiller&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I'm interested in doing this too; have you set something up? What unit testing framework are you considering? I've started to look into Unity.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Sep 2019 15:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848549#M1199</guid>
      <dc:creator>amit_rao</dc:creator>
      <dc:date>2019-09-05T15:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing with Unity in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848550#M1200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been able to set up ceedling which uses unity to do unit testing on a MKL82Z128, with a project in MCUXpresso. This would allow me to do "test driven development" although now I am just using it after the fact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There were a few changes I needed to make to the NXP source files, but now I have my project compiling for x86 and I can run my code on my development machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't used any other unit testing frameworks, but ceedling (&lt;A class="link-titled" href="http://www.throwtheswitch.org/" title="http://www.throwtheswitch.org/"&gt;Throw The Switch&lt;/A&gt;&amp;nbsp;) seems suitable&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2019 21:53:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/848550#M1200</guid>
      <dc:creator>amit_rao</dc:creator>
      <dc:date>2019-09-14T21:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing with Unity in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/1179890#M4016</link>
      <description>&lt;P&gt;Hi!&amp;nbsp;&lt;BR /&gt;&amp;nbsp;I am quite new to unit testing in embedded environment. I am using MCUXpresso with&amp;nbsp;mimxrt1064. Could you instruct me where to get started in the configuration? What kind of changes you had to make to make Unity&amp;amp;Ceedling work?&lt;BR /&gt;Br, Kaisa&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2020 06:32:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/1179890#M4016</guid>
      <dc:creator>Gamka</dc:creator>
      <dc:date>2020-11-09T06:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unit testing with Unity in MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/1819809#M5335</link>
      <description>&lt;P&gt;how did you accomplish using ceedling with your embedded project. can you share the details? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 20:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Unit-testing-with-Unity-in-MCUXpresso/m-p/1819809#M5335</guid>
      <dc:creator>ajain33555</dc:creator>
      <dc:date>2024-03-01T20:48:31Z</dc:date>
    </item>
  </channel>
</rss>

