chore(deps): update dependency build_test to v3 #19
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.2.3
->^3.0.0
Release Notes
dart-lang/build (build_test)
v3.3.0
Compare Source
AssetReader
so they're easier to test: you can nowpass in
build.yaml
like any other asset.testBuilder
orresolveSource
call outside a test.async
,convert
.collection
.resolveSources
andtestBuilders
that are inthe same package as explicitly-passed test inputs are now loaded if they
match the default globs, such as
lib/**
, instead of ignored. This moreclosely matches version 2 behavior.
build
3.0.0.build_resolvers
3.0.0.v3.2.1
: package:build_test v3.2.1Compare Source
resolveSources
andtestBuilders
that are inthe same package as explicitly-passed test inputs are now loaded if they
match the default globs, such as
lib/**
, instead of ignored. This moreclosely matches version 2 behavior.
v3.2.0
Compare Source
readerWriter
totestBuilders
: don't count initialassets as outputs; do set up packages for initial assets; only apply builders
to packages mentioned in
sourceAssets
.readAllSourcesFromFilesystem
parameter toresolveSources
. Set it totrue
to make the method behave as it did inbuild_test
2.2.0.resolveSources
error handling.v3.1.1
: package:build_test v3.1.1Compare Source
testBuilder
asset paths as globs.v3.1.0
Compare Source
inputsTrackedFor
andresolverEntrypointsTrackedFor
toReaderWriterTesting
, so tests can determine what each build stepread and resolved.
loadIsolateSources
toReaderWriterTesting
. It loads all realsources visible to the test into memory.
testBuilder
defaultonLog
now works outside of tests: it fallsback to
print
instead of crashing.README.md
.v3.0.0
Compare Source
Breaking changes:
tearDown
parameter toresolveSources
forkeeping resolvers across multiple tests.
TestReaderWriter
instead ofInMemoryAssetReader
andInMemoryAssetWriter
.testBuilder
no longer accepts areader
and awriter
.Instead it returns a
TestBuilderResult
with theTestReaderWriter
that was used.
resolveSources
no longer automatically reads non-inputfiles from the filesystem; specify explicitly which non-input files the
test should read in
nonInputsToReadFromFilesystem
.MultiAssetReader
. Load the source into oneTestReaderWriter
instead.TestReaderWriter.assetsRead
does not take into accountdetails of the build, it's just what was actually read. Use
TestReaderWriter.inputsTracked
for what was recorded as an input. Note thatresolver entrypoints are now tracked separately from inputs, see
TestReaderWriter.resolverEntrypointsTracked
.StubAssetReader
. UseTestReaderWriter
instead.Other user-visible changes:
resolveSources
andtestBuilder
now do a fullbuild_runner
build, withconfiguration as much as possible based on the some parameters.
testBuilders
to run a test build with multiple builders.optionalBuilders
totestBuilders
to have some builders be optional.visibleOutputBuilders
totestBuilders
to have some builders writetheir output next to their inputs.
testingBuilderConfig
totestBuilders
to control builder configoverride.
resolvers
parameter totestBuild
andtestBuilders
.readerWriter
andenableLowResourceMode
parameters totestBuild
and
testBuilders
.TestReaderWriter
writes and deletes are notified toFakeWatcher
.TestReaderWriter
tracksassetsWritten
.resolveSources
.Versions:
build_runner_core
9.0.0.Internal changes:
package:build/src/internal.dart
.BuildCacheReader
toBuildCacheAssetPathProvider
.FileBasedAssetReader
andFileBasedAssetWriter
toReaderWriter
.Configuration
📅 Schedule: Branch creation - "after 9pm,before 6am" in timezone Europe/Zurich, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.