Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite function names from camelCase to snake_case #43

Open
The-Compiler opened this issue Jan 27, 2020 · 1 comment
Open

Rewrite function names from camelCase to snake_case #43

The-Compiler opened this issue Jan 27, 2020 · 1 comment

Comments

@The-Compiler
Copy link
Member

When writing unittest.py tests, often the test methods are camel-cased, e.g. def testThing(self): .... With pytest, the usual convention is snake_case (as per pep8), i.e. def test_thing():.

It'd be nice if unittest2pytest could rename the functions accordingly.

@dannysepler
Copy link

borrowed this idea for pytestify!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants