I have large (1000+ lines) FeatureContext class and I want to split this file in several logical parts. But I don't know how to create my own classes in Behat. I read docs http://docs.behat.org/en/v2.5/guides/4.context.html but I don't get it. And in docs example FeatureContext extends BehatContext, but I need FeatureContext extends MinkContext, because Mink doesn't work without it. If you can write example of my own class with function that use Mink and show me how to use this class in FeatureContext that would be great
I just found right way to use subcontexts (classes) in Behat with Mink http://blog.scur.pl/2012/06/subcontexts-behat-mink/ Hope it will help somebody