konobi / kwalitee

Package for measuring node package kwalitee
MIT License
12 stars 5 forks source link

Name folder containing tests 'tests' or 'test', not just 't' #9

Closed tkissing closed 9 years ago

tkissing commented 9 years ago

Yes, short paths are nice, but readable folder names that clearly communicate what's inside are nicer.

konobi commented 9 years ago

"t" is a historical porpoises standard. We should pick either "test" or "tests" as the standard.

tkissing commented 9 years ago

I am using "tests", but "test" is very common in the Java/Maven world, "spec" is used a lot with Ruby - there are probably others. Whatever you pick for this project itself is somewhat up to your personal taste I guess. For measuring other modules I'd say either is acceptable, because all those folder names are common and understood.

konobi commented 9 years ago

"t" is also common in the perl world. But... I think we'll go with "test", as it seems to be the most commonplace.

tkissing commented 9 years ago

Yeah, but perl is write-only code ;)