0

Is there a standard convention, or even a growing one, around where and how to invoke the tests associated with a project? In many projects, I'm seeing it bundled into a Make, a separate test.py script at the top level of the project, etc to do the work. 

I looked around for some common thing with setup.py, but didn't spot anything there (granted, I didn't look hard). What's common and best practice?

razlebe
  • 7,134
  • 6
  • 42
  • 57
heckj
  • 7,136
  • 3
  • 39
  • 50

1 Answers1

1

The short answer is yes, there's a simple convention built-in to the unittest module. See this previous question.

Community
  • 1
  • 1
Cerin
  • 60,957
  • 96
  • 316
  • 522