Tag Info

Hot answers tagged

2

In my experience, you can't sell new development processes. The only path I've found which works is to simply start doing it: Only develop with TDD from this point forward. You'll still deliver your code on time, but it'll be more maintainable and have far fewer bugs. You'll feel much less anxiety and be proud of your work. After a little time, management ...


1

I found a workaround for this issue where I can check for the exception after each step using the [AfterStep] binding. This works for me, and tests that failed are now marked as inconclusive: [AfterStep] public void check() { var exception = ScenarioContext.Current.TestError; if (exception is WebDriverException ...


1

I found out that you can filter tests in the Default.srprofile, for example <Filter>@myTag</Filter> will only run tests with the tag @myTag. More info is provided here: http://www.specflow.org/media/specrun.html#US18


1

I was able to fix this by adding stopAfterFailures="-1" to the Execution node in default.srprofile: <Execution retryFor="None" testThreadCount="1" testSchedulingMode="Sequential" stopAfterFailures="-1" />



Only top voted, non community-wiki answers of a minimum length are eligible