dart_test_tools 3.2.0 copy "dart_test_tools: ^3.2.0" to clipboard
dart_test_tools: ^3.2.0 copied to clipboard

unlistedoutdated

Additional tools and helpers for writing dart unit tests.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[3.2.0] - 2022-02-25 #

Added #

  • Added github actions printer to lint command for better integration with GH actions

[3.1.0] - 2022-02-23 #

Added #

  • exported library lint to only import linters
  • added testing helpers, exported as `test``
    • testData method to add tests with data
    • Extensions on When from mocktail for simpler stream and future return mocking
  • dart_test_tools export exports all modules
  • enable public_member_api_docs in analysis_options_package.yaml by default

Changed #

  • Use newer location for credentials.json

Fixed #

  • Allow older versions of analyzer to gain compatibility with flutter

[3.0.0] - 2021-02-01 #

This a a complete rewrite of the public API of this package. Differences are not listed, instead, only the new APIs are promoted here. The following things have been added:

  • Added new library with Linters
    • TestImportLinter: Ensures test-files only import src files of the tested library
    • LibExportLinter: Ensures all sources with package-public members are exported somewhere
  • Revised and modernized lint binary which can be used to run these analyzers on a dart package
  • analysis_options.yaml and analysis_options_package.yaml from 2.0.0 have been kept
  • Generated CI/CD for dart and flutter has been kept
    • Now uses the lint binary for extended analysis

[2.0.2] - 2021-01-21 #

Changed #

  • Lower path required to be compatible with flutter

[2.0.1] - 2021-01-21 #

Changed #

  • Removed public_member_api_docs from package analysis options

[2.0.0] - 2022-01-21 #

Removed #

  • old tools and other legacy stuff of the 1.0.0 release have been removed

[2.0.0-test.3] - 2022-01-21 #

Changed #

  • use // ignore: test_library_import for ignoring import scans

[2.0.0-test.2] -2022-01-17 #

Added #

  • analysis_options.yaml and analysis_options_package.yaml for stricter defaults based on lint
  • import analyser for library imports in tests

Removed #

  • package library import analyzer

[2.0.0-test.1] - 2021-12-22 #

  • Test-Release. Do not use yet

[1.0.0] - 2021-09-17 #

  • Initial release

[Unreleased] - 20XX-XX-XX #

Added #

Changed #

Deprecated #

Removed #

Fixed #

Security #