NerdHerd91/insulator

Allow for configurable JavaScript Unit Test prefix/suffix naming conventions

Opened this issue · 0 comments

Developers and organizations use a variety of naming schemes for their unit test files. Our project should support a configurable naming convention, while assuming the client is consistent in their naming scheme. There are 4 variations that we should support:

  • [default] : assumes the unit test lives within the test directory and contains a filename identical to the one located in the source directory
  • [prefix] : all test files will contain a consistent prefix, appended by the filename of the original source file
  • [suffix] : all test files will contain a consistent suffix, pre-appended by the filename of the original source file
  • [prefix/suffix] : all test files will contain a consistent prefix/suffix, infixed by the filename of the original source file