NewStep returns a new constructed teststep with specified step name.
(name string)
| 527 | |
| 528 | // NewStep returns a new constructed teststep with specified step name. |
| 529 | func NewStep(name string) *StepRequest { |
| 530 | return &StepRequest{ |
| 531 | step: &TStep{ |
| 532 | Name: name, |
| 533 | Variables: make(map[string]interface{}), |
| 534 | }, |
| 535 | } |
| 536 | } |
| 537 | |
| 538 | type StepRequest struct { |
| 539 | step *TStep |
no outgoing calls