5 ms·
Pytest has an equally deprecating option for a different "use case": disable_test_id_escaping_and_forfeit_all_rights_to_community_support = True https://d
by jammycrisp 4y ago
Pytest has an equally deprecating option for a different "use case":
disable_test_id_escaping_and_forfeit_all_rights_to_community_support = True
https://docs.pytest.org/en/6.2.x/parametrize.html#pytest-mark-parametrize-parametrizing-test-functions https://docs.pytest.org/en/6.2.x/parametrize.html#pytest-mar...
- kelnos 4y agoI'd say not equally. The pytest one is basically "we get that your use case might be a little off our beaten path, and we want to allow you to be successful, but we aren't prepared to take on the support burden of it". The minitest thing is "if you don't do things how we envision with our limited perspective, you are bad at programming".
- Dylan16807 4y agoI think pytest understands that they only need the escaping because their own code is subtly broken in many places. And look how much it screws up text: https://user-images.githubusercontent.com/1457682/57952631-be4ed180-7928-11e9-82c6-6f43eeef03ee.png https://user-images.githubusercontent.com/1457682/57952631-b...
- djur 4y agoThere is no reason to have order-dependent unit tests. It's good for test tools to do everything they can to keep you from having them.