Creating group of tests


Is it possible to group tests in the same file (like jest or rspec describe blocks) ?


Short answer No and this is done intentionally. Keeping tests flat and their own files doesn’t hurt.

Long answer, you can create multiple suites in single test file.

const group1 = use('Test/Suite')('Group 1')
const group2 = use('Test/Suite')('Group 2')