You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any easy way to lint source code to catch duplicate godog steps? We have been bitten a couple of times because godog matches steps defined in golang to features files and developers copy/paste golang steps across tests thinking the receiver defined in the new step will be used when it's the receiver in the step that godog matches first that is actually going to be used.
The text was updated successfully, but these errors were encountered:
Hi, at the moment godog just finds the first match. probably we could use strict mode to fail with an error in case if same definition signature is detected
Is there any easy way to lint source code to catch duplicate godog steps? We have been bitten a couple of times because godog matches steps defined in golang to features files and developers copy/paste golang steps across tests thinking the receiver defined in the new step will be used when it's the receiver in the step that godog matches first that is actually going to be used.
The text was updated successfully, but these errors were encountered: