telekom / testerra

Testerra is an integrated framework for automating tests for (web) applications.
https://docs.testerra.io/
Apache License 2.0
27 stars 15 forks source link

Fix/assert equals #384

Closed TobiasAdler closed 10 months ago

TobiasAdler commented 10 months ago

Description

Using ASSERT.assertEquals() of Testerra with an int, a long and a String as parameters, the assertion would fail even if the values were equal. However using TestNG's Assert.assertEquals(), the assertion would pass. The same would occur with float and double. This behavior was fixed so that the results of TestNG's and Testerra's assertEquals are now the same.

Type of change

Please delete options that are not relevant.

Checklist:

martingrossmann commented 10 months ago

Please add some integration tests that verify your fix.

TobiasAdler commented 10 months ago

Please add some integration tests that verify your fix.

@martingrossmann Integration tests have been added.