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,064
  • 6
  • 40
  • 55
heckj
  • 6,638
  • 3
  • 40
  • 47

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
  • 55,951
  • 85
  • 291
  • 487