- Jan 09, 2020
-
-
Nate Bosch authored
Remove TODO comments waiting for things that will never change or that we don't intend to take action on. - https://github.com/dart-lang/sdk/issues/22977 is closed as not planned. - Dart 2 does not support importing `dart:io` in cross platform code. - Setting the exit code is not supported on web. - We plan on keeping `executable.dart` under lib to allow reuse from other packages internally. - We don't plan on trying to support `spawnHybridUri` outside of the test runner. - `executable.main` is now declared to return a `Future`. - We don't intend to take a dependency on `json_schema`.
-
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 08, 2020
-
-
Gary Roumanis authored
-
- 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
-
- Dec 20, 2019
-
-
Gary Roumanis authored
-
- Dec 18, 2019
-
-
Nate Bosch authored
Prepare for a potential breaking change in `package:boolean_selector`. Currently the `evaluate` method takes an argument which is either an `Iterable<String>` or a `bool Function(String)` which matches the `.toSet()contains` tearoff on that Iterable. We might tighten that to always take a `bool Function(String)` since the tearoff is easy to handle at the calling side.
-
- Dec 11, 2019
-
-
Gary Roumanis authored
-
- Dec 06, 2019
-
-
Nate Bosch authored
This has the same intended purpose as `unawaited` so it can be easily replaced. Technically even the `unawaited` is not necessary here since none of the surrounding functions are `async`, but it is fine to use it for documentation purposed. Leave the utility in place for now since it will take some version bump gymnastics to roll out.
-
Nate Bosch authored
- always_declare_return_types - annotate_overrides - await_only_futures - omit_local_variable_types - prefer_collection_literals - prefer_conditional_assignment - prefer_final_fields - prefer_for_elements_to_map_fromiterable - prefer_if_null_operators - prefer_spread_collections - unnecessary_this - use_function_type_syntax_for_parameters Bump min SDK to 2.3.0 everywhere to allow using spreads in collection literals. Skip an already failing test
-
- Nov 14, 2019
-
-
Nate Bosch authored
This lint may soon be enforced in `package:pedantic`.
-
Nate Bosch authored
If a test times out at the default timeout, point to the docs for changing timeouts in the error message.
-
- Nov 07, 2019
-
-
Gary Roumanis authored
* Extend synthetic test timeout
-
- Oct 31, 2019
-
-
kathrinschuler authored
* Add test-randomize-ordering-seed arg
-
- Oct 25, 2019
-
-
Nate Bosch authored
Towards #1100 The ExpandedReporter needs to work on the web platform. It worked before because it only used `print` which works everywhere. - Change the argument to `StringSink` which can be supported on every platform. - Remove the `dart:io` import from the expanded reporter. - Make the `sink` argument non-optional for the expanded reporter. - Add a `PrintSink` implementation that buffers writes until the content ends with a newline and then calls `print`.
-
- Oct 24, 2019
-
-
Nate Bosch authored
Towards #1100 Prepare for a world where we a reporter can be configured to write directly to a file.
-
- Oct 23, 2019
-
-
Nate Bosch authored
-
Kevin Moore authored
-
- Oct 16, 2019
-
-
Gary Roumanis authored
-
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
-
Gary Roumanis authored
-
- Sep 23, 2019
-
-
Gary Roumanis authored
-
Gary Roumanis authored
-
- Sep 17, 2019
-
-
Kevin Moore authored
-
Kevin Moore authored
-
Kevin Moore authored
-
Kevin Moore authored
Also fix readme
-
- Sep 16, 2019
-
-
Gary Roumanis authored
* Fix chain tests
-
- 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 19, 2019
-
-
Keerti Parthasarathy authored
-
- 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
-
Nate Bosch authored
This was added in https://github.com/dart-lang/test/pull/729 when the `Socket` class was missing a method in an interface it declared it had - this caused a problem when some code tried to tear if off. According to https://github.com/dart-lang/sdk/issues/31504 that method now exists and can be torn off - calling that method would still throw, but that would also be true with a `DelegatignStreamSink` wrapper.
-
- Aug 15, 2019
-
-
Gary Roumanis authored
-
- Aug 14, 2019
-
-
Gary Roumanis authored
-