<?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 DevOps Fundamentals: Lecture - Introduction to Unit Tests for PySpark in Certifications</title>
    <link>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171841#M5059</link>
    <description>&lt;P&gt;This sentence can be improved as we are not testing unit tests we are writing unit tests:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are a variety of other methods to test your unit tests, we will focus on the pyspark testing utils.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Oct 2026 20:31:10 GMT</pubDate>
    <dc:creator>Daniel_B</dc:creator>
    <dc:date>2026-10-06T20:31:10Z</dc:date>
    <item>
      <title>DevOps Fundamentals: Lecture - Introduction to Unit Tests for PySpark</title>
      <link>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171841#M5059</link>
      <description>&lt;P&gt;This sentence can be improved as we are not testing unit tests we are writing unit tests:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;There are a variety of other methods to test your unit tests, we will focus on the pyspark testing utils.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2026 20:31:10 GMT</pubDate>
      <guid>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171841#M5059</guid>
      <dc:creator>Daniel_B</dc:creator>
      <dc:date>2026-10-06T20:31:10Z</dc:date>
    </item>
    <item>
      <title>Re: DevOps Fundamentals: Lecture - Introduction to Unit Tests for PySpark</title>
      <link>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171850#M5060</link>
      <description>&lt;P&gt;Later, same issue:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are a variety of other methods to test your unit tests, we will focus on the pyspark testing utils.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2026 20:33:21 GMT</pubDate>
      <guid>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171850#M5060</guid>
      <dc:creator>Daniel_B</dc:creator>
      <dc:date>2026-10-06T20:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: DevOps Fundamentals: Lecture - Introduction to Unit Tests for PySpark</title>
      <link>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171872#M5061</link>
      <description>&lt;P&gt;This reads oddly:&amp;nbsp;&lt;SPAN&gt;Next like talk about the pytest unit testing framework.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Uninformative repetition:&amp;nbsp;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&lt;SPAN&gt;Just write test functions that start with test_, and pytest will automatically pick them up and run them.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;Just name your test files and functions with the test_ prefix, and pytest will take care of the rest.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Full text from SCORM module for context:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Next like talk about the pytest unit testing framework.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pytest is a popular testing framework for Python that makes it easy to write simple and scalable test cases. It provides a variety of benefits for executing your unit tests.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;First up, pytest has a very simple syntax. You don’t need to worry about complex setup. Just write test functions that start with test_, and pytest will automatically pick them up and run them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Next, pytest leverages Python’s built-in assert statements (or you can use other assert statements like in pyspark). These are simple to use but provide detailed error messages when a test fails, making your function debugging much easier and faster by understanding what went wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Pytest also automatically discovers and runs all your tests. There’s no need to manually configure which tests to run. Just name your test files and functions with the test_ prefix, and pytest will take care of the rest.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lastly, pytest has a rich ecosystem of plugins to extend its functionality. Whether you need test coverage reports, parallel test execution, or integration with other tools, there's a plugin for almost anything, allowing you to customize pytest to fit your needs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This course provides a simple introduction to pytest. There are many testing frameworks available, select the one that best meets your organization's needs.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2026 20:40:27 GMT</pubDate>
      <guid>https://community.databricks.com/t5/certifications/devops-fundamentals-lecture-introduction-to-unit-tests-for/m-p/171872#M5061</guid>
      <dc:creator>Daniel_B</dc:creator>
      <dc:date>2026-10-06T20:40:27Z</dc:date>
    </item>
  </channel>
</rss>

