This blog post explains it best. Basically, it is the following:
- Small: this test doesn't interact with any file system or network.
- Medium: Accesses file systems on box which is running tests.
- Large: Accesses external file systems, networks, etc.
See this page (search for "@SmallTest") on how to specify which tests get run.