tenthe opened a new issue, #3050:
URL: https://github.com/apache/streampipes/issues/3050

   ### Body
   
   **Description:**
   The current unit test runner does not support checks for double values when 
asserting the equality of an event property in 
`ProcessingElementTestExecutor.run`.
   
   **Idea:**
   Provide rounding for event validation. Users should be able to define a 
rounding parameter in the expected output events to dynamically set this value.
   
   **Example:**
   ```json
   {
     "PROPERTY_VALUE": 1.0
   }
   ```
   ```json
   {
     "PROPERTY_VALUE": { "value": 1.0, "rounding": 0.001 }
   }
   ```
   
   ### StreamPipes Committer
   
   I acknowledge that I am a maintainer/committer of the Apache StreamPipes 
project.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@streampipes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to