This project is read-only.


Nov 27, 2009 at 1:59 PM


What is exactly a narrative? What does it do with the objects we are giving as parameters?

For example in "Example Four", I don't fully understand what we are doing. We are using a narrative to do something on a narrative, but how and for waht do we use the narrative class?


Thank you very much in advance for your help!




Nov 30, 2009 at 1:58 PM

Hi Daniel

A narrative is a class that storyQ uses. It represents both the human readable text, as well as what should happen when the story is executed (it might pass, fail an assertion, or pend)

I guess the example is trying to be a bit clever by testing itself?

Cheers - Rob

Dec 1, 2009 at 8:36 AM

Hi Rob,

Thank you very much for your answer.

I've an other question. I'm using msunit for the tests. Is there a way to show the details of the story like on the outputs for the examples? I'm only getting if the test passed or failed.



Dec 1, 2009 at 10:04 AM

Hi Daniel

If you're using visual studio to run your tests, then I think you have to double click on a test to see its details (which include the test's console output, which is what storyQ prints to)