Staying Organized with Tags and Subfolders

It’s easy to be organized when you have only a couple of features, but as your test suite starts to grow, you’ll want to keep things tidy so that the documentation is easy to read and navigate. One simple way to do this is to start using subfolders to categorize your features. This gives you only one axis for organization, though, so you can also use tags to attach a label to any scenario, allowing you to have as many different ways of slicing your features as you like.


This is the easiest way to organize your features. You may find yourself torn as to how to choose a category, though: do you organize by user type, with an features/admins folder, a features/logged_in_users folder, and a ...

Get The Cucumber Book now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.