for example: there is a function to be ran by nosetest,
def test_example(flag):
nose.tools.assert_equal(flag, 'ok')
How to specified parameters of this function when i run commands 'nosetest' in the console?
pls help me, many tks!!
for example: there is a function to be ran by nosetest,
def test_example(flag):
nose.tools.assert_equal(flag, 'ok')
How to specified parameters of this function when i run commands 'nosetest' in the console?
pls help me, many tks!!
Copyright © 2021 Jogjafile Inc.
yeah! I finally found a solution by using 'htmlTestRunner'. I edit the source code of 'htmlTestRunner' and 'unittest'.
Run testCase like this: