Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Postman Support]: Digit numbers ending with 0 #212

Open
networkinss opened this issue Feb 22, 2022 · 2 comments
Open

[Postman Support]: Digit numbers ending with 0 #212

networkinss opened this issue Feb 22, 2022 · 2 comments
Labels
wontfix This will not be worked on

Comments

@networkinss
Copy link
Contributor

Postman has the behaviour to cut number ending with null.
It changes 12.50 to 12.5.
Since the original value is 12.50, Idaithalam test fails because the Postman collection stored 12.5 instead.

Idaithalam shall check if it is a number and compare number values instead of string compare.

@elans3
Copy link
Member

elans3 commented Mar 26, 2022

Its seems like more on POSTMAN issue. Postman should export as with appropriate decimal value

@elans3 elans3 added the wontfix This will not be worked on label Mar 26, 2022
@networkinss
Copy link
Contributor Author

networkinss commented Mar 27, 2022

No.
The problem is here that Idaithalam is making a string comparison instead of a value comparison.
Usually you just want to have the right values.
Only in certain cases you need exact format.
However, the user should have the choice.

I suggest to have a configuration option for:
a) String comparison (like it is now).
b) Value comparison (would solve that problem)
c) Regular expression (would be #163)
d) Format comparsion (if it is integer, string, date or float).
e) Check only if field exists, no value checking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants