sumanthvepa<p>If you are writing individual unittests, you may be doing testing wrong.</p><p>I finally <a href="https://mastodon.social/tags/parameterized" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>parameterized</span></a> all the <a href="https://mastodon.social/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://mastodon.social/tags/unittest" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>unittest</span></a> for my deployment tool. </p><p>This is the way testing should be done. </p><p>The way testing is taught, with single unit tests is very misleading.</p><p>With parameterized tests, I can automatically test a significant portion of the input space of function or program. </p><p><a href="https://mastodon.social/tags/testing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>testing</span></a> <a href="https://mastodon.social/tags/softwaredevelopment" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>softwaredevelopment</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a></p>