Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23514

Test and Code: The role of AI in software testing - Anthony Shaw

$
0
0

AI is helping people write code.  
Tests are one of those things that some people don't like to write.   

Can AI play a role in creating automated software tests?  
Well, yes. But it's a nuanced yes.  

Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.

We discuss:

  • The promise of AI writing your tests for you
  • Downsides to not writing tests yourself
  • Bad ways to generate tests
  • Good ways to ask AI for help in writing tests
  • Tricks to get better results while using copilot and other AI tools

Links:


Sponsored by: 

Learn pytest: 

  • The Complete pytest course is now a bundle, with each part available separately.
  • Whether you need to get started with pytest today, or want to power up your pytest skills, PythonTest has a course for you.


★ Support this podcast on Patreon ★<p>AI is helping people write code.  <br>Tests are one of those things that some people don't like to write.   </p><p>Can AI play a role in creating automated software tests?  <br>Well, yes. But it's a nuanced yes.  </p><p>Anthony Shaw comes on the show to discuss the topic and try to get AI to write some test for my very own cards project.</p><p>We discuss:</p><ul><li>The promise of AI writing your tests for you</li><li>Downsides to not writing tests yourself</li><li>Bad ways to generate tests</li><li>Good ways to ask AI for help in writing tests</li><li>Tricks to get better results while using copilot and other AI tools</li></ul><p>Links:</p><ul><li><a href="https://github.com/okken/cards">The cards project</a></li><li>A video version of this discussion: <a href="https://www.youtube.com/watch?v=a_V-BH_luJ4">Should AI write tests?</a></li></ul> <br><p><strong>Sponsored by: </strong></p><ul><li><a href="https://porkbun.com/TestAndCode25"><strong>Porkbun</strong></a><strong> -- </strong>named the #1 domain registrar by USA Today from 2023 to 2025!</li><li><a href="https://porkbun.com/TestAndCode25">Get a .app or.dev domain name for only $5.99 first year.</a></li></ul><p><strong>Learn pytest: </strong></p><ul><li><a href="https://file+.vscode-resource.vscode-cdn.net/Users/brianokken/projects/test_and_code_notes/new_ad.md">The Complete pytest course</a> is now a bundle, with each part available separately.<ul><li><a href="https://courses.pythontest.com/pytest-primary-power">pytest Primary Power</a> teaches the super powers of pytest that you need to learn to use pytest effectively.</li><li><a href="https://courses.pythontest.com/using-pytest-with-projects">Using pytest with Projects</a> has lots of "when you need it" sections like debugging failed tests, mocking, testing strategy, and CI</li><li>Then <a href="https://courses.pythontest.com/pytest-booster-rockets">pytest Booster Rockets</a> can help with advanced parametrization and building plugins.</li></ul></li><li>Whether you need to get started with pytest today, or want to power up your pytest skills, <a href="https://courses.pythontest.com/">PythonTest</a> has a course for you.</li></ul><p><br></p> <strong> <a href="https://www.patreon.com/c/testpodcast" rel="payment" title="★ Support this podcast on Patreon ★">★ Support this podcast on Patreon ★</a> </strong>

Viewing all articles
Browse latest Browse all 23514

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>