Logo: Relish

  1. Sign in

Project: Zebra-printer

Data

The DSL needs away of allowing data to be
referenced

Scenarios
Data given in constructor
Given
some array data
And
a DSL with:
ZebraPrinterDocument.new(@data) do
  language :zpl2
  text data.first.text
end
When
I execute the DSL
Then
the output should include "^FDFirst Data^FS"

Last published almost 5 years ago by Paul Mitchell.