akephalos icon indicating copy to clipboard operation
akephalos copied to clipboard

Adding filters during test runs

Open cpytel opened this issue 13 years ago • 1 comments

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

cpytel avatar Oct 05 '10 17:10 cpytel

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.

bernerdschaefer avatar Nov 24 '10 21:11 bernerdschaefer