Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Spike/altered loading strategy #1349
Provide a way for cucumber to only load files once.
Using a config switch, decide on whether cucumber should recurse through files potentially
Motivation and Context
This fixes an old problem here: #1043 - Where the user had procedural code which was being instantiated twice. A user should be able to specify the load order of a file, and "not" have the file loaded twice.
How Has This Been Tested?
Unit Tests have been added in the appropriate file.
Screenshots (if appropriate):
Types of changes
Nice work! WRT to your questions:
I think that whilst this will be in a new major cut, there was no notice of deprecations beforehand, and this is quite a big change to the autoloader. I would rather keep the default as is and add a new config for v4 and then for v5 alter / remove / switch the default