Getting nose2 to work in my MacOS, with Pycharm installed...

Hello,

I am trying to get nose2 to work on MacOS with PyCharm installed....

Here I install the pip for nose2...

mlittle-macmini-20200921@mlittle921sMini 20230123-1729-Automated-Testing-With-Python % pip install nose2
Collecting nose2
  Downloading nose2-0.12.0-py2.py3-none-any.whl (152 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 152.8/152.8 kB 3.2 MB/s eta 0:00:00
Installing collected packages: nose2
Successfully installed nose2-0.12.0

When I try to execute a test script  20230125-0918--test_sum_unittest.py from the command line, I get an error message...

mlittle-macmini-20200921@mlittle921sMini 20230123-1729-Automated-Testing-With-Python % nosetests 20230125-0918--test_sum_unittest.py
zsh: command not found: nosetests

When I try the command python -m nose2 I get an error message:

mlittle-macmini-20200921@mlittle921sMini 20230123-1729-Automated-Testing-With-Python % python -m nose2
zsh: command not found: python

I am a novice with Python and PyCharm, and so what can I do to get nose2 to execute? 

 

 

 

 

 

 

0

Please sign in to leave a comment.