This looks like an interesting plugin - thanks for sharing! It's great to see tools that aim to improve the quality of tests (over and above regular linting).
Personally, I've moved away from Unittest to pytest so this plugin is not so relevant for my usual testing work. __But__ (as a bit of a TDD nut) I'm interested to know more about some of the issues you found getting TDD up and running for your build of the plugin... Could you share what aspects took you longer than expected or were problematic? Are there any places where you think community effort could be directed to help more people create plugins?
On Tue, 26 Jun 2018, at 11:15 PM, Federico Bond wrote:
> I wrote a Pylint plugin to detect less than optimal usage of unittest
> assertions, for example writing self.assertEqual(x, None) instead of
> self.assertIsNone(x) or using deprecated aliases. It's published in
> PyPI under the name pylint-unittest and is also available on GitHub
> I would love to hear your feedback on it. Also, it took me longer than
> I expected to put together the necessary boilerplate for doing
> test-driven development on this plugin, so I hope it can serve as a
> good base for others too. I feel that the way pylint-django tests are
> structured is too awkward for newcomers.
> Thank you!
> code-quality mailing list