This project is read-only.

how to add parameter in story q converter

Jun 4, 2010 at 2:05 AM

Hi robe

I'm facing difficulty to find how to add function parameter in stroy q converter.

Given PriceRangeMinWeight_AndMaxWeight_With_PricePerPiece,10m,20m,1m


 It not generate correct method function

Jun 4, 2010 at 3:43 PM

Hi Ryzamx

That looks like a good method signature for StoryQ - but if I wanted the converter to generate that, i'd use 

"given price range $10 and max weight $20 with $1 price per piece"

Which generates:

        .Given(PriceRange_AndMaxWeight_With_PricePerPiece, 10, 20, 1)
private void PriceRange_AndMaxWeight_With_PricePerPiece(int arg1, int arg2, int arg3)
    throw new NotImplementedException();
Is that what you're asking?