storyq

Modifying or configuring output with StoryQ

依然范特西╮ 提交于 2019-12-11 13:15:38
问题 I posted this question on the StoryQ discussion boards, but by looking at the (lack of) responses to other questions, activity there seems sparse at best. I thought I'd let everyone here have a go. Is there a way to modify or configure the output (both output window and file) to include custom strings? For example, one of my stories requires that a specific exception is thrown. To do this, I catch the exception and save it, then in a separate method test that it's non-null and of the required

StoryQ When() calling task C#

∥☆過路亽.° 提交于 2019-12-11 01:01:22
问题 I want to convert this unit test into BDD using storyQ working unit test [Test] public async void CreateNewProjectAndDatabase() { StartParametersAndAteEngineDlls(); await TheNewDatabaseAndProjectIsCreated(); TheDataBaseViewModelIsCreated(); TheMainViewModelIsCreated(); } private async Task TheNewDatabaseAndProjectIsCreated() { .... } converted to BDD [Test] public async Task CreateNewProjectAndDatabase() { _story.WithScenario("Create a new bla bla") .Given(StartParametersAndAteEngineDlls)