google / ci_edit

A terminal text editor with mouse support and ctrl+Q to quit.
Apache License 2.0
223 stars 54 forks source link

Move unit tests to the appropriate directory #196

Open gennad opened 5 years ago

gennad commented 5 years ago

I noticed that the unit tests are intermingled with the application logic source code, do we need to move them to the appropriate tests directory as it normally is in the most of python projects I worked with?

dschuyler commented 5 years ago

Ah, I'm used to the guidance of putting tests with the code. I suppose that's more for unit tests.

Hmm, for that matter (while I know the difference) I have unit tests, integration tests, and system tests mingled together.

WDYT of moving the integration tests to a tests directory, but keeping the unit tests with the code?