« Previous | Next » 

Revision 3c50df2e

ID3c50df2e3e1a343accbb03b42cba805847569320

Added by Stavros Sachtouris about 10 years ago

Apply a simple naming convention for unit tests

Naming convention:

Actual functionality:

In package kamaki.clients.pkg there is class C containing a method M
Test it in a package kamaki.clients.pkg.test, with a class C + a method test_M
Command line run:
python ${kamaki}/kamaki/clients/pkg/test.py C M
or
python ${kamaki}/kamaki/clients/test.py C M

In package kamaki.clients there is a module mod containing a method M
Test it in a package kamaki.clients.mod, with a class Mod + a method test_M
Command line run:
python ${kamaki}/kamaki/clients/mod/test.py Mod M
or
python ${kamaki}/kamaki/clients/test.py Mod M

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences