storyteller / Storyteller

Executable Specifications for .Net
http://storyteller.github.io
Other
268 stars 53 forks source link

"Headless" mode for the Spec previewing and editing client #596

Open jeremydmiller opened 7 years ago

jeremydmiller commented 7 years ago

Now that we have the Fixture overrides and export working, what if there was a mode in st that allowed you to run the Storyteller client against only the Fixture markdown files without the backend system going at all? Might be a huge advantage for testers or even devs

mtscout6 commented 7 years ago

Is this to make sure it can be parsed? Not sure I follow.

CNBoland commented 7 years ago

If I follow correctly, that would allow testers to write tests in markdown rather than app code?

jeremydmiller commented 7 years ago

@mtscout6 I haven't forgotten the story about validating all the specs and that one's still open and should get done for 4.0 by the beginning of the year.

What I'm after is being able to completely use the UI client for previewing or authoring specifications without having to actually run the system under test or any of the .Net testing code. We'd need to disable or better yet hide any commands that involve the backend.

I was thinking that this mode could be very valuable early on in the project or when a system isn't easy to bootstrap locally.

mtscout6 commented 7 years ago

Ok, so this would allow you to write the test and later on to generate the C# fixtures based on them? All without the system under test being in a working state. I can dig that.