It is usefull to put the actual test scripts in the
src/test/java source folder and all the framework code in the
src/main/java source folder. The difference between packages / classes and methods is explained in this section.
A package is a way to structure a set of related classes. Classes that belong to each other can be put in the same package.
From a test automation project point of view you can put classes which test related functionality in the same package.
A class is the blueprint of an object. It defines fields that represent the object state and methods that represent interaction with the outside world.
From a test automation project point of view you can put methods that test the same functionality in the same class.
A method is a collection of statements that are grouped together to perform an operation.
From a test automation project point of view a method can be seen as a test.