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
Test naming changed from 1.8 to 1.9 for float
s
#25
Comments
Hi! Thanks for letting me know. The behavior you are seeing surprises me, because we have a unit test since 2020-08-05 that tests that
gets the test name
which seems to match your use case. (I can't link to the test because it is removed when exporting to Github due to a dependency on textproto parsing) I suspect this may be a combination of a change in TestParameterInjector and your JVM being different (e.g. Anroid vs openJDK). |
Hmm, scrap that. Even before this library was open sourced, we had a unit test that ran on an Android emulator that checks that Since May 2022, we extended this test with multiple Android versions, starting at SDK version 15. So that's probably not it either. |
(just reading this now) It feels like it can't be a coincidence, I agree. In your case, since parameter names are not present and the value is not an array, it should change So then From the documentation of If that's the case, I'd argue this is actually an improvement because it makes the result independent of the locale. |
Ok, I'd say fair evaluation, nice! :) |
Oh, btw my execution is on JVM, not Android devices. Paparazzi is amazing tech! |
Done in cd15758 |
I had this test:
I'm using it for screenshot test recording, so the test names between previous and next versions has to match (otherwise hard to compare screenshots :). When updating from TPI 1.8 to 1.9 my PR failed:
when inspecting the golden values on master (1.8) I found:
Since the only thing changed in the PR was the TPI version number, it's very likely that this had an unintended behavior change:
e390bab#diff-f0f3c84fc90c4da3bd5e1267e7b74d5774029389e86dfe1bba895740b8b886d0R142
The text was updated successfully, but these errors were encountered: