v1.11.0-RC1 #850
Replies: 2 comments 3 replies
-
Gave it a quick try and it seems to look good on gentoo. https://packages.gentoo.org/packages/dev-util/bats But there i also just ran the internal test suite and nothing else, especially nothing dealing with dynamic registration |
Beta Was this translation helpful? Give feedback.
-
I did run into trouble with 3 tests breaking on file/dir not found errors in one of my test suites. I'm not certain what's causing the break, but it manifests coming as a shift in what my suite's expecting PWD to be. (I may just be holding it wrong in a way you don't want to support.) The ~important failure case is around a test that I build a file for dynamically at test time in order to bake in an absolute path. Here's a diff of how I'm adapting the test(s) that fail in order to get them working again: abathur/resholve@d870bdb#diff-1cd59227c5054dad716cc83a31abe52d4762512e24a4d145a5db33f3bb0c2aac I'm less concerned about the other 2 cases at the end of the diff where I just removed For context, my suite also uses the following setup/teardown functions: https://github.com/abathur/resholve/blob/3e7f0191d787184a5dbebdab7ad0b634d0d1b642/tests/helpers.bash#L1-L12 Edit: After sorting out a workaround that was suitable for RC1, I also tried running against current bats with the workaround in place--and this also produced a file not found error (but in a different location). |
Beta Was this translation helpful? Give feedback.
-
Due to the extensive changes necessary for the dynamic test registration, this is first released as a candidate for users to check if it works as intended.
Please provide your feedback on this release candidate here to improve the final release.
This discussion was created from the release v1.11.0-RC1.
Beta Was this translation helpful? Give feedback.
All reactions