- Jan 21, 2020
-
-
Gary Roumanis authored
-
Nate Bosch authored
Closes #1141 Bump min SDK in all packages for safety. Restore use of for-loop elements in a top level variable since they work in this SDK.
-
- Jan 19, 2020
-
-
Nate Bosch authored
Towards #1141 Work around the bug in the SDK by switching back to `..addAll`. After we publish this version that works we can bump the min SDK. Prepare to publish.
-
- Jan 09, 2020
-
-
Nate Bosch authored
- Bump to feature version change in `test`. - Drop `-dev` from pubspecs. - Pin to latest `test_core` from `test`.
-
Evan Weible authored
Add support for writing any reporter output to a file in addition to the reporter on `stdout`. The `json` reporter is the primary use case. Adds a `--file-reporter` CLI argument, and `file_reporters` yaml config option. - Add a `MultiplexingReporter` to allow wiring up multiple reporters to listen at once. - Plumb through the configuration mapping a reporter to a file path. - Instantiate each file reporter with a sink from the file instead of the normal `stdout`.
-
Nate Bosch authored
The stack trace changed in `1.24` and the tests were updated to allow either format. Since we don't support that SDK anymore we can simplify back to the single format that will be used.
-
- Jan 07, 2020
-
-
Dan Field authored
Flutter pins package dependencies, including all transitive dependencies. Because test_api depends on pedantic, Flutter pins that dependency. However, pedantic is only depended on for the `unawaited` function, which is a one-line piece of code. This will enable resolution of https://github.com/flutter/flutter/issues/48246 without requiring Flutter to unpin its dependencies, and with a very small overhead on test_api to not re-import pedantic :) This helps downstream consumers who want to depend on the package for the actual analysis options files. Also related: https://github.com/dart-lang/pedantic/issues/46
-
- Jan 06, 2020
-
-
Nate Bosch authored
We never published `1.9.5` so don't need any entry for it. The changes don't need to be mentioned since they aren't the only thing and they aren't user facing.
-
Marcin Wolniewicz authored
This allows for reusing one template file across all tests in use cases where external scripts or html elements are required for all tests. The possibility to still use local html files per test file is retained. Fixes https://github.com/dart-lang/test/issues/39
-
- Nov 14, 2019
-
-
Nate Bosch authored
This lint may soon be enforced in `package:pedantic`.
-
- Nov 07, 2019
-
-
Gary Roumanis authored
* Extend synthetic test timeout
-
- Oct 23, 2019
-
-
Nate Bosch authored
-
Kevin Moore authored
-
- Oct 16, 2019
-
-
Gary Roumanis authored
* better solo
-
- Oct 09, 2019
-
-
Gary Roumanis authored
* Conditionally import coverage logic
-
willdrach-wk authored
Open to feedback on this. Here's how it works at the moment: There's a new `--coverage` option that you can use to specify the output directory for your coverage. It will create a new output directory if one doesn't already exist. The tests are run through the engine, and then get spit out to a coverage helper function. That coverage helper function: **A)** Checks if it's a VM suite **B)** Gathers coverage if it is **C)** Outputs coverage to `${suite path}.vm.json` So, for example, when I run: ```bash pub run test --coverage hello_world test/vm/simple_repo_test.dart ``` A new file gets added at `hello_world/test/vm/simple_repo_test.dart.vm.json` with the coverage results!
-
- Sep 25, 2019
-
-
willdrach-wk authored
Closes #1086
-
- Sep 24, 2019
-
-
willdrach-wk authored
Fixes #1082
-
- Sep 23, 2019
-
-
Gary Roumanis authored
-
- Sep 17, 2019
-
-
Kevin Moore authored
-
Kevin Moore authored
-
- Sep 06, 2019
-
-
Gary Roumanis authored
* default flags * fix version
-
- Aug 21, 2019
-
-
Gary Roumanis authored
Mark internal packages as deprecated to hopefully prevent accidental use.
-
- Aug 16, 2019
-
-
Keerti Parthasarathy authored
* Update test to use analyzer 0.38.0 * Update test_core dep * Add a dependency override for test_core
-
- Aug 14, 2019
-
-
Gary Roumanis authored
-
- Jul 29, 2019
-
-
Nate Bosch authored
This had been used to detect feature support so that the package could have a wider SDK constraint and have enhanced features for newer SDKs. Drop the dependency and code checking the SDK version because: - We now typically bump the SDK constraint rather than support multiple code paths. - The remaining usage was for checking for DDC support in `pub serve` which doesn't exist anymore - we haven't yet deleted the tests or migrated them to use `build_runner serve`. This test and references to the old approach with both compilers is retained to make it clear what should be tested when we get around to migrating it.
-
Nate Bosch authored
The old flag, `--categories=Server`, is deprecated and emits a warning when used. The new flag is supported since at least 2.1.1 Since our pubspec already limits us to at least 2.2.0, remove the SDK version check for using the flag.
-
- Jul 08, 2019
-
-
Gary Roumanis authored
* Depend on latest analyzer * remove unnecessary quotes * widen range
-
Gary Roumanis authored
-
- May 08, 2019
-
-
Nate Bosch authored
Allows using `expectAsync*` to wrap callbacks in context where they are called with a `try/catch` without changing visible behavior.
-
Gary Roumanis authored
Closes https://github.com/dart-lang/test/issues/1032
-
- Apr 30, 2019
-
-
Gary Roumanis authored
* Non-completed tests should cause failures
-
- Apr 09, 2019
-
-
Nate Bosch authored
The default reporter is imported from `package:test/test.dart` and so it is used on all platforms. This change may mean that some unnecessary stack traces are printed, which is safe and only slightly degrades UX.
-
- Mar 27, 2019
-
-
Nate Bosch authored
Version `1.7.0` adds the import so it's the minimum version required. Allow versions through `2.x` since the breaking change will be to change the import which will now be satisfied.
-
- Mar 22, 2019
-
-
Nate Bosch authored
-
Kevin Moore authored
-
- Jan 30, 2019
-
-
Jacob MacDonald authored
-
- Jan 18, 2019
-
-
Gary Roumanis authored
* prep for release
-
- Dec 28, 2018
-
-
Kevin Moore authored
Fixes https://github.com/dart-lang/test/issues/943
-
- Nov 05, 2018
-
-
Gary Roumanis authored
-