<?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>topic Re: Best unit test Framework 2022 ? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11545807#M15901</link>
    <description>&lt;P&gt;In our soulution we have "decoupled" the Revit Api and our addin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what we do is that we have created a layer on top of Revit, which we call "Model".&amp;nbsp; (and one API)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Model layer has no refrence to RevitAPI, just the API refrence then the API holds the Revit refrence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This layer basicly creates an copy of the Revit element or method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Implementing this as an class based on an interface, makes me able to mock the api&amp;nbsp;&lt;/P&gt;&lt;P&gt;behavior when unit testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that when creating addin tools, we use our "MElement" class, instead of Element..&amp;nbsp;&lt;/P&gt;&lt;P&gt;When calling an "MElement" we route the traffic down to the Element throug the implementation of this API func.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When testing, we asume api to give "correct" results.. and then we can Mock the results wich we&amp;nbsp;&lt;/P&gt;&lt;P&gt;excpect from the api, and test our logics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that we have no 3000++ unit tests running when building i azure devops.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a bit of work to get going on, but do give som good decoupling from Revit when developing..&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 10:05:07 GMT</pubDate>
    <dc:creator>daniel</dc:creator>
    <dc:date>2022-11-11T10:05:07Z</dc:date>
    <item>
      <title>Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520295#M15888</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I started developing a new plug-in for Revit recently, it's been a while since the last time I worked&lt;/P&gt;&lt;P&gt;on a new coding project, I was wondering which framework is best for the specific tast of making&lt;/P&gt;&lt;P&gt;a Revit Add-on ?&amp;nbsp;I'm developing with VS22 for windows only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 13:55:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520295#M15888</guid>
      <dc:creator>TomB.ADV</dc:creator>
      <dc:date>2022-10-31T13:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520430#M15889</link>
      <description>&lt;P&gt;Here are some unit tests:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Dynamo's Revit Tester Framework - &lt;A href="https://github.com/DynamoDS/RevitTestFramework" target="_blank"&gt;https://github.com/DynamoDS/RevitTestFramework&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Geberit's Revit Test Runner - &lt;A href="https://github.com/geberit/Revit.TestRunner" target="_blank"&gt;https://github.com/geberit/Revit.TestRunner&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;Speckle's Revit Test Runner - &lt;A href="https://github.com/specklesystems/xUnitRevit" target="_blank"&gt;https://github.com/specklesystems/xUnitRevit&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have been using the Geberit version and was trying to create my own to run directly in Visual Studio 2022.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is kinda working: &lt;A href="https://youtube.com/shorts/ZwtmHP72_Zc" target="_blank"&gt;https://youtube.com/shorts/ZwtmHP72_Zc&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 14:45:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520430#M15889</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-10-31T14:45:35Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520631#M15890</link>
      <description>&lt;P&gt;So if I understand correctly,&amp;nbsp;&lt;SPAN&gt;Speckle's Revit Test Runner, will allow me to test my code against any .rvt model without manually activating each custom function/command in the add-on ? Is that right ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 16:06:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520631#M15890</guid>
      <dc:creator>TomB.ADV</dc:creator>
      <dc:date>2022-10-31T16:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520917#M15891</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12885677" target="_self"&gt;&lt;SPAN class=""&gt;TomB.AD,&lt;/SPAN&gt;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I believe so? I don't 100% understand what you are asking, but I will second that speckle's Revit unit test is the best available test framework for Revit that we've found. You can run test functions using the speckle UI, and you don't have to test a full external command - you can test individual methods.&lt;BR /&gt;&lt;BR /&gt;Note that you still have to open Revit to use it, as I haven't seen a Revit Test Framework that can get around that - as far as I know Revit has to be open to have access to it's API, which is required to test anything that uses and Revit API calls. We've used Speckle a bit at our company, but eventually moved away from it in support of developing our own Revit Unit Test framework that better suited our needs and process.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 17:46:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520917#M15891</guid>
      <dc:creator>danielJY6FB</dc:creator>
      <dc:date>2022-10-31T17:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520949#M15892</link>
      <description>&lt;P&gt;ricaun,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Cool vid! I think it's awesome that you are developing your own! I think more Revit devs should be more focused on testing to ensure better and more stable applications! Is that test class calling the Revit API? I would be amazed if you found a way to get that working with the Revit API but outside of Revit - if so lemme know how!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Our company actually ended up making our own Revit Test Framework to better suit our needs, and we'd like to make it open source one day! Here's a screenshot:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 17:56:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520949#M15892</guid>
      <dc:creator>danielJY6FB</dc:creator>
      <dc:date>2022-10-31T17:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520978#M15893</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9336092"&gt;@danielJY6FB&lt;/a&gt;&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855"&gt;@ricaun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was reffering to the below example where on &lt;STRONG&gt;line 4&lt;/STRONG&gt; there is a method calling a Revit model from the solution folder.&lt;/P&gt;&lt;P&gt;I could be wrong but looks like there is a method to load rvt model and execute API methods directly (&lt;STRONG&gt;line 7&lt;/STRONG&gt;), meaning I don't have to open a new revit session to run tests.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/specklesystems/xUnitRevit" target="_blank"&gt;https://github.com/specklesystems/xUnitRevit&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;[Fact]
public void WallsHaveVolume()
{
  var testModel = GetTestModel("walls.rvt");
  var doc = xru.OpenDoc(testModel);

  var walls = new FilteredElementCollector(doc).WhereElementIsNotElementType().OfCategory(BuiltInCategory.OST_Walls).ToElements();

  foreach(var wall in walls)
  {
    var volumeParam = wall.get_Parameter(BuiltInParameter.HOST_VOLUME_COMPUTED);
    Assert.NotNull(volumeParam);
    Assert.True(volumeParam.AsDouble() &amp;gt; 0);
  }
  doc.Close(false);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:18:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520978#M15893</guid>
      <dc:creator>TomB.ADV</dc:creator>
      <dc:date>2022-10-31T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520996#M15894</link>
      <description>&lt;P&gt;TomB.ADV,&lt;BR /&gt;&lt;BR /&gt;Yes I believe Speckle provides methods for you to load and switch between revit files, among other utilities. However, I also though speckle tests needed to be run via the speckle test ui, which is a revit addin - so you have to open that to run the tests. I could be mistaken, as I haven't used speckle in a little while!&lt;BR /&gt;&lt;BR /&gt;Edit:&lt;BR /&gt;&lt;BR /&gt;Here's a link to a speckle unit test blog post - I think this is the framework we are talking about? It mentioned three parts, one of which is a revit addin that actually runs the tests:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://speckle.systems/blog/xunitrevit/" target="_blank" rel="noopener"&gt;https://speckle.systems/blog/xunitrevit/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:23:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11520996#M15894</guid>
      <dc:creator>danielJY6FB</dc:creator>
      <dc:date>2022-10-31T18:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521031#M15895</link>
      <description>&lt;P&gt;I see, well, this is pritty much still better IMO compared to the alternatives but I wish there was a framework to execute tests without launching a new revit session, otherwise it is very restricting in terms of the machine specs I have to run the tests on &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:43:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521031#M15895</guid>
      <dc:creator>TomB.ADV</dc:creator>
      <dc:date>2022-10-31T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521062#M15896</link>
      <description>&lt;P&gt;Without Revit open is not possible I guess, but you could use the Design Automation to run some tests: The demo that I created for the Forge: &lt;A href="https://youtu.be/EL5uJm_Nj8g" target="_blank"&gt;https://youtu.be/EL5uJm_Nj8g&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Test part is the missing key in my workflow, I was thinking to add a UI for testing in the AppLoader plugin but makes more sense to use the Test Explorer in Visual Studio 2022, just need to create a IPC between Revit and Visual Studio.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 18:51:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521062#M15896</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-10-31T18:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521084#M15897</link>
      <description>&lt;P&gt;That looks very interesting, looks like your are building a useful solution, looking forward to see this developed.&lt;BR /&gt;&lt;BR /&gt;Unfortenutlly, I didn't have the time to expirement with forge, I will look into it at a later stage, I guess&lt;BR /&gt;for the time being I will take whatever is available...&lt;/P&gt;</description>
      <pubDate>Mon, 31 Oct 2022 19:01:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521084#M15897</guid>
      <dc:creator>TomB.ADV</dc:creator>
      <dc:date>2022-10-31T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521226#M15898</link>
      <description>&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4176855" target="_self"&gt;&lt;SPAN class=""&gt;ricaun&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;This is REALLY cool, thanks for sharing! I like the idea of using forge, and that does seem to be where Autodesk wants to head in the future.&lt;BR /&gt;&lt;BR /&gt;Edit: Does running that via the Design Automation require the use of any Autodesk Cloud Credits?&lt;/P&gt;</description>
      <pubDate>Tue, 01 Nov 2022 14:31:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11521226#M15898</guid>
      <dc:creator>danielJY6FB</dc:creator>
      <dc:date>2022-11-01T14:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11530896#M15899</link>
      <description>&lt;P&gt;Very many thanks to all, especially ricaun, for the fruitful discussion. Summarised it here for posterity:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/2022/11/unit-test-your-revit-add-in.html#6" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/2022/11/unit-test-your-revit-add-in.html#6&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:08:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11530896#M15899</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-11-04T13:08:46Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11533029#M15900</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/9336092"&gt;@danielJY6FB&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Edit: Does running that via the Design Automation require the use of any Autodesk Cloud Credits?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yes requires Autodesk Cloud Credits to use Design Automation, and could become too expensive to run each PR.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are gonna pay for the time the DA is running, around 0.0334 Credits per minute or around $0.10 / Minute. (&lt;A href="https://forge.autodesk.com/pricing" target="_blank"&gt;https://forge.autodesk.com/pricing&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sense to use before merging or releasing, especially for testing in each Revit version available.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One thing that is slow is opening a document, and if the document needs to be updated gonna wastes time converting every time the test runs.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Nov 2022 15:15:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11533029#M15900</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2022-11-05T15:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11545807#M15901</link>
      <description>&lt;P&gt;In our soulution we have "decoupled" the Revit Api and our addin.&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what we do is that we have created a layer on top of Revit, which we call "Model".&amp;nbsp; (and one API)&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Model layer has no refrence to RevitAPI, just the API refrence then the API holds the Revit refrence.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This layer basicly creates an copy of the Revit element or method.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Implementing this as an class based on an interface, makes me able to mock the api&amp;nbsp;&lt;/P&gt;&lt;P&gt;behavior when unit testing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that when creating addin tools, we use our "MElement" class, instead of Element..&amp;nbsp;&lt;/P&gt;&lt;P&gt;When calling an "MElement" we route the traffic down to the Element throug the implementation of this API func.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When testing, we asume api to give "correct" results.. and then we can Mock the results wich we&amp;nbsp;&lt;/P&gt;&lt;P&gt;excpect from the api, and test our logics.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This means that we have no 3000++ unit tests running when building i azure devops.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is a bit of work to get going on, but do give som good decoupling from Revit when developing..&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 10:05:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11545807#M15901</guid>
      <dc:creator>daniel</dc:creator>
      <dc:date>2022-11-11T10:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11873866#M15902</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I have been looking into testing the revit plugins I am working on and decided to try the RevitTestFrameWork , mainly because I wanted to create a powershell script to copy dlls, models and run the test , simillar to what is shown in this&lt;A href="https://www.autodesk.com/autodesk-university/class/Automate-Your-Revit-Add-Testing-Unit-Testing-2019#video" target="_blank" rel="noopener"&gt; AU session&lt;/A&gt;&amp;nbsp; . I have managed to git clone , replace the Revit API references with the Revit 2023 Dlls and compile successfully.&lt;/P&gt;&lt;P&gt;When I try to run a test from the GUI it just hangs , no response .&amp;nbsp;&lt;BR /&gt;However, when I run the console version I get the following error&amp;nbsp; :&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Unable to cast object of type 'System.Xml.XmlComment' to type 'System.Xml.XmlElement'.&lt;/LI-CODE&gt;&lt;P&gt;I am guessing this may have something to do with either the .net version , or the nUnit part that produces the output ?&amp;nbsp;&lt;BR /&gt;Did anyone else get that error ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks , Jonathan&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 07:53:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/11873866#M15902</guid>
      <dc:creator>jonathan.taVCBM2</dc:creator>
      <dc:date>2023-04-05T07:53:24Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674510#M15903</link>
      <description>&lt;P&gt;It's finished, I created a unit test framework that supports multiple Revit versions and works inside Visual Studio or dotnet test.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is some information about &lt;STRONG&gt;ricaun.RevitTest&lt;/STRONG&gt; framework.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Sample: &lt;A href="https://github.com/ricaun-io/RevitTest" target="_blank" rel="noopener"&gt;https://github.com/ricaun-io/RevitTest &lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Discussions: &lt;A href="https://github.com/ricaun-io/RevitTest/discussions" target="_blank" rel="noopener"&gt;https://github.com/ricaun-io/RevitTest/discussions&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN&gt;Nuget: &lt;A href="https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter" target="_blank" rel="noopener"&gt;https://www.nuget.org/packages/ricaun.RevitTest.TestAdapter&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;And a video on how to start and some specific configurations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FAR1qYH-P_eY%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DAR1qYH-P_eY&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FAR1qYH-P_eY%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" width="200" height="112" scrolling="no" title="Multi-version NUnit testing framework for Revit API" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any questions just join the &lt;A href="https://github.com/ricaun-io/RevitTest/discussions" target="_blank" rel="noopener"&gt;Discussion&lt;/A&gt; on GitHub.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Should work with the Revit 2025 as well. &lt;span class="lia-unicode-emoji" title=":grinning_squinting_face:"&gt;😆&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 16:31:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674510#M15903</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2024-03-29T16:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674727#M15904</link>
      <description>&lt;P&gt;Brilliant! &amp;nbsp;Thank you for that!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please note a small URL typo, an extraneous space at the end of the (second) link to the discussion:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/ricaun-io/RevitTest/discussions%20" target="_blank"&gt;https://github.com/ricaun-io/RevitTest/discussions%20&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That doesn't work.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Happy Easter, and thank you for the nice Easter gift!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 16:24:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674727#M15904</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-03-29T16:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674742#M15905</link>
      <description>&lt;P&gt;Thanks, I fix the link. &lt;span class="lia-unicode-emoji" title=":grinning_face:"&gt;😀&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now just wait for the Revit release!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Happy Easter everyone!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 16:34:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674742#M15905</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2024-03-29T16:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674848#M15906</link>
      <description>&lt;P&gt;Congratulations, you finally made it public :D. It is about time to bring a better unit testing experience to the Revit community.&lt;BR /&gt;&lt;BR /&gt;For those who prefer MSTest2 over NUnit, I am experimenting with a similar approach to remote unit test execution with my &lt;A href="https://github.com/NeVeSpl/RevitTestLibrary" target="_blank" rel="noopener"&gt;https://github.com/NeVeSpl/RevitTestLibrary&lt;/A&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="proof-of-concept.gif" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1343641iB1B9372323A5AD56/image-size/medium?v=v2&amp;amp;px=400" role="button" title="proof-of-concept.gif" alt="proof-of-concept.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Mar 2024 17:42:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/12674848#M15906</guid>
      <dc:creator>eN27</dc:creator>
      <dc:date>2024-03-29T17:42:27Z</dc:date>
    </item>
    <item>
      <title>Re: Best unit test Framework 2022 ?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/13998345#M85248</link>
      <description>&lt;P&gt;There is a new unit testing framework for revit&lt;BR /&gt;&lt;A title="RevitUnit" href="https://github.com/Nice3point/RevitUnit" target="_blank" rel="noopener"&gt;https://github.com/Nice3point/RevitUnit&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jan 2026 21:58:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/best-unit-test-framework-2022/m-p/13998345#M85248</guid>
      <dc:creator>petru_cervac</dc:creator>
      <dc:date>2026-01-30T21:58:15Z</dc:date>
    </item>
  </channel>
</rss>

