Ancestors

Toot

Written by sumanthvepa on 2025-01-25 at 16:36

[#]Python really needs better support for #parameterised #unittests. The paremeterized python package is okay, but leaves much to be desired.

I would love have package that integrates with my #IDE, (#VScode, #PyCharm) etc.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Descendants

Written by Eric Matthes on 2025-01-25 at 17:06

@sumanthvepa Sorry if you've answered this previously, but is there a reason you're not using pytest?

=> More informations about this toot | More toots from ehmatthes@fosstodon.org

Written by sumanthvepa on 2025-01-25 at 17:18

@ehmatthes No particular reason, other than that #unittest comes with the standard library.

Maybe, that's all I need to do. Just switch to #pytest.

It is the weekend, and I am writing experimental code. So what the heck. I'll ask ChatGPT to rewrite the tests using pytest.

=> More informations about this toot | More toots from sumanthvepa@mastodon.social

Written by Eric Matthes on 2025-01-25 at 17:30

@sumanthvepa You might not have to do much in order to start using pytest:

https://docs.pytest.org/en/stable/how-to/unittest.html

=> More informations about this toot | More toots from ehmatthes@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113889968083851704
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
262.678852 milliseconds
Gemini-to-HTML Time
1.135136 milliseconds

This content has been proxied by September (3851b).