SpecRun Archives - Gáspár Nagy on software https://gasparnagy.com/tag/specrun/ coach, trainer and bdd addict, creator of SpecFlow; owner of Spec Solutions Tue, 01 Mar 2016 08:06:58 +0000 en-US hourly 1 https://wordpress.org/?v=6.9 57938217 SpecFlow tips: When to clean the database https://gasparnagy.com/2015/02/integration-testing-tips-when-to-clean-the-database/ Mon, 23 Feb 2015 20:37:17 +0000 http://gasparnagy-com.lku.dkk.mybluehost.me/?p=433 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, […]

The post SpecFlow tips: When to clean the database appeared first on Gáspár Nagy on software.

]]>
433
SpecFlow tips: input and output files https://gasparnagy.com/2014/01/integration-testing-tips-input-and-output-files/ https://gasparnagy.com/2014/01/integration-testing-tips-input-and-output-files/#comments Mon, 20 Jan 2014 18:52:38 +0000 http://gasparnagy-com.lku.dkk.mybluehost.me/?p=298 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 […]

The post SpecFlow tips: input and output files appeared first on Gáspár Nagy on software.

]]>
https://gasparnagy.com/2014/01/integration-testing-tips-input-and-output-files/feed/ 2 298
SpecRun – because integration tests are not unit tests https://gasparnagy.com/2011/09/specrun-because-integration-tests-are-not-unit-tests/ Fri, 02 Sep 2011 14:05:00 +0000 http://www.gasparnagy.com/?p=9 We have started the SpecFlow project in 2009 to provide a tool for .NET developers to perform BDD-style functional testing. SpecFlow uses unit testing frameworks, like NUnit, MsTest or MbUnit to execute the Gherkin scenarios. While this was a pragmatic choice, it has turned out that for executing functional integration tests, these unit test frameworks […]

The post SpecRun – because integration tests are not unit tests appeared first on Gáspár Nagy on software.

]]>
9