OK, I've figured it out... First I observed that my code behind file
for the feature file didn't seem to be updating properly when i made a
change to the feature file since nothing changed in the code behind
when i made a change in the feature file... Hence, the feature tag
wasn't being recognised.
After consulting a team member, I discovered that the project given to
me to work with using specflow required me to download and install
specflow on my computer as well (from
http://specflow.org/downloads/installer.aspx).
Sounds obvious right?? Well not so much when you see that Specflow
will almost work perfectly on your machine without being installed.
The tests will run, it will interpret the step definitions ok.. BUT,
it won't auto-update your feature code-behind files..
Bottom line, my code now works as expected using the
BeforeFeature("tagName") method. Anyone seeing similar issues, make
sure you have specflow installed and make sure that your feature code
behind file is being updated with your changes properly :)
cheers, Pete