<?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 Azure Databricks Python Test Coverage report in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34437#M25190</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to enable coverage report for Azure Databricks python code. Found a solution using pytest with databricks connect but faced below challenges &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;U&gt;Pytest framework using Databricks Connect:-&lt;/U&gt; This works for simple notebooks. But doesnt work for below&lt;OL&gt;&lt;LI&gt;MAGIC commands doesnt work - %run, %sh doesnt works in databricks connect . Ref &lt;A href="https://stackoverflow.com/questions/63435030/execute-databricks-magic-command-from-pycharm-ide" alt="https://stackoverflow.com/questions/63435030/execute-databricks-magic-command-from-pycharm-ide" target="_blank"&gt;python 3.x - Execute databricks magic command from PyCharm IDE - Stack Overflow&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;DButils.widget doesnt work in Databricks connect - Ref - &lt;A href="https://community.databricks.com/s/question/0D53f00001HKIJI/dbutils-cannot-find-widgets-windows-10" alt="https://community.databricks.com/s/question/0D53f00001HKIJI/dbutils-cannot-find-widgets-windows-10" target="_blank"&gt;DBUtils cannot find widgets [Windows 10] (databricks.com)&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution available for getting a coverage report without making much changes in the existing source notebooks.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 12:08:50 GMT</pubDate>
    <dc:creator>Nilave</dc:creator>
    <dc:date>2021-11-24T12:08:50Z</dc:date>
    <item>
      <title>Azure Databricks Python Test Coverage report</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34437#M25190</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to enable coverage report for Azure Databricks python code. Found a solution using pytest with databricks connect but faced below challenges &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;U&gt;Pytest framework using Databricks Connect:-&lt;/U&gt; This works for simple notebooks. But doesnt work for below&lt;OL&gt;&lt;LI&gt;MAGIC commands doesnt work - %run, %sh doesnt works in databricks connect . Ref &lt;A href="https://stackoverflow.com/questions/63435030/execute-databricks-magic-command-from-pycharm-ide" alt="https://stackoverflow.com/questions/63435030/execute-databricks-magic-command-from-pycharm-ide" target="_blank"&gt;python 3.x - Execute databricks magic command from PyCharm IDE - Stack Overflow&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;LI&gt;DButils.widget doesnt work in Databricks connect - Ref - &lt;A href="https://community.databricks.com/s/question/0D53f00001HKIJI/dbutils-cannot-find-widgets-windows-10" alt="https://community.databricks.com/s/question/0D53f00001HKIJI/dbutils-cannot-find-widgets-windows-10" target="_blank"&gt;DBUtils cannot find widgets [Windows 10] (databricks.com)&lt;/A&gt; &lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution available for getting a coverage report without making much changes in the existing source notebooks.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 12:08:50 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34437#M25190</guid>
      <dc:creator>Nilave</dc:creator>
      <dc:date>2021-11-24T12:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Python Test Coverage report</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34438#M25191</link>
      <description>&lt;P&gt;Hi @Nilave Chakraborty​&amp;nbsp;I understand the pain in making such changes. But unfortunately, we do not have a solution for now.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 12:14:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34438#M25191</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-11-24T12:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Python Test Coverage report</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34439#M25192</link>
      <description>&lt;P&gt;@Prabakar Ammeappin​&amp;nbsp; Thanks for the reply. May I know is there any plan for adding code coverage functionality to Databricks python notebooks? If so, any timelines if you can provide that would be great.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 10:05:11 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34439#M25192</guid>
      <dc:creator>Nilave</dc:creator>
      <dc:date>2021-12-08T10:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Python Test Coverage report</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34440#M25193</link>
      <description>&lt;P&gt;@Nilave Chakraborty​&amp;nbsp;, There is no support for code coverage functionality yet. I don't think it will be available in the near future. However, it will be considered later. I do not have any timeline for now.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Dec 2021 14:39:25 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34440#M25193</guid>
      <dc:creator>Prabakar</dc:creator>
      <dc:date>2021-12-08T14:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Databricks Python Test Coverage report</title>
      <link>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34441#M25194</link>
      <description>&lt;P&gt;Hi Prabakar, I would like to do test coverage in databricks notebooks so is there any way that I can do and also can I do testing with pytest in databricks? Are there any other tests like nutter library and doc test supports coverage?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Nov 2022 08:57:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/azure-databricks-python-test-coverage-report/m-p/34441#M25194</guid>
      <dc:creator>bharani</dc:creator>
      <dc:date>2022-11-21T08:57:04Z</dc:date>
    </item>
  </channel>
</rss>

