Changes

Jump to navigation Jump to search
359 bytes added ,  18:23, 22 March 2020
no edit summary
Line 3: Line 3:  
All tests follow the same structure. There is one test set per language. For each process adjective there is a separate test. And a test consists of a string and the required results (ingredient and process).
 
All tests follow the same structure. There is one test set per language. For each process adjective there is a separate test. And a test consists of a string and the required results (ingredient and process).
    +
== Template ==
 
The template for processing adjectives tests:
 
The template for processing adjectives tests:
   Line 43: Line 44:  
   }
 
   }
 
   ] ]
 
   ] ]
 +
== Error message ==
 +
An error message for the '''text''' field might be:
 +
  #  Failed test at t/ingredients_processing.t line 143.
 +
  #    Structures begin differing at:
 +
  #          $got->[3]{text} = 'gehakte tomaten'
 +
  #    $expected->[3]{text} = 'tomaten'
 +
This should be read as: replace ''gehakte tomaten'' with ''tomaten'' in the test
3,390

edits

Navigation menu