SpecFlow tips: Problems with placing step definitions to base classes
by Gáspár on May 18, 2015
On the bases of feedback and issues, a lot of SpecFlow users seem to try to put step definitions and other binding codes to base classes. I’ll try to explain why inheritance doesn’t fit to the concept of global step definitions used by SpecFlow.
SpecFlow tips: When to clean the database
by Gáspár on February 23, 2015
We were always told to clean up after ourselves when we were children, this is also what I teach to my daughters. Probably due to this, when writing the first integration tests that inserts data to a database, devs cleanup (or reset) the database after the test has been executed (with an [AfterScenario] SpecFlow hook, […]
SpecFlow tips: input and output files
by Gáspár on January 20, 2014
Integration tests have to deal with file system files from time to time, even if the system under test does not use the file system. You might have test input files or generated logs, traces or other output files that you generate during the test execution. Handling such files is not too hard, but there […]