paketo-buildpacks / libpak

An opinionated extension to the libcnb Cloud Native Buildpack Library
Apache License 2.0
15 stars 17 forks source link

Create some testing utils for working with and asserting against TOML #257

Open dmikusa opened 1 year ago

dmikusa commented 1 year ago

Describe the Enhancement

Buildpacks have a lot of TOML. Working with it is kind of a pain, especially when trying to do comparisons in tests.

We should take some time to write some helper code for working with and asserting against TOML.

Motivation

I think this will simplify our test cases and make them easier to read.

loewenstein commented 4 months ago

@dmikusa Why is this labeled v2?

dmikusa commented 4 months ago

Hmm, probably not something that would require breaking changes, so that maybe an error. I'm going to remove it.