hiptest-publisher icon indicating copy to clipboard operation
hiptest-publisher copied to clipboard

Invalid type generated with dataset when mixing int and string

Open HoudaDabou opened this issue 5 years ago • 0 comments

From: https://github.com/hiptest/hiptest-issue-tracker/issues/199

Steps to reproduce

  1. Create a scenario with a dataset, with 2 lines
  2. set a string value for line 1 column 1: aSimpleValue
  3. set an integer value for line 2 column 1: 42
  4. Generate the code (java junit)

Expected behaviour

The column 1 should be string, always

Actual behaviour

Does not compile, the value 42 is directly marked as integer but the generic method signature is String. This result is the same if you switch step 2 and 3 (order does not matter).

My configuration

Browser: --

Operating system: Debian

HoudaDabou avatar Oct 22 '19 19:10 HoudaDabou