akephalos
akephalos copied to clipboard
Adding filters during test runs
Do all the filters need to be defined before the htmlunit instance is instantiated?
I am interacting with a remote javascript service that I'm trying to create filters for. I'm able to create, and modify filters for the remote service when I run cucumber and specify a single scenario file.
However, when I just run 'cucumber' and run all scenarios, it seems like the filters are not properly modified for each the scenarios.
If I just set one filter, and run just cucumber it seems to be fine, but I need to dynamically change the filters for different scenarios.
Is this behaving the way you'd expect and an expected limitation given the way filters work?
thanks, -Chad
Is this still an issue? They should be able to be dynamically changed; if not, it's definitely a bug, so I'll be taking a look.