In Python, I want to distinguish between what I use (pass) and what I don't use.

Asked 2 years ago, Updated 2 years ago, 18 views

def myTasu(myA,myB):
    return myA+myB
def myHiku(myA, myB):
    return myA-myB
print("#", myTasu(1,2))
# 3

関数 Count functions.2
②MyTasu passes, myHiku does not.

Please tell me what application you recommend.
All I could think of was to repeat the cherry editor grep.

python

2022-09-30 13:45

1 Answers

You may want to add the following plug-ins to pytest.
pytest-func-cov·PyPI

If you are not familiar with pytest, search for it.

(I don't have enough experience to teach)


2022-09-30 13:45

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.