Writing tests for bobtemplates

I've been trying to add the missing templates such as views and viewlets for the bobtemplates.
You can find my fork of the code for it at this link:
https://github.com/mrsaicharan1/bobtemplates.plone

I've been trying to write tests for the views and viewlets. I'm not sure about the file structure of the tests and where these files should go. I'd be glad if anyone could point out the exact file structure for the tests and where should these reside? Also, should I start with the package tests or the skeleton tests?

@mrsaicharan1
You should go through this training course
https://training.plone.org/5/mastering-plone/

I've found out this Add-ons part really interesting
https://training.plone.org/5/mastering-plone/eggs1.html#