Files
sdk/pkg/modular_test/test/loader/readme.md
T
Josh Soref 9e4dc755cb Spelling pkg
Closes https://github.com/dart-lang/sdk/pull/50921

GitOrigin-RevId: 6b1ca502b6722b0a987f33ace66f65cbd2c24e23
Change-Id: I74e4ff3c8e759c576036d6b791bd7734ebd215d8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278536
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2023-01-19 10:06:29 +00:00

729 B

The loader_test folder contains a folder per test.

Each test is focusing on part of the features of how tests folders are recognized and turned into a modular test specification by our libraries. Note that all .dart source files in these tests are empty because we ignore their contents.

Each folder contains a file named expectation.txt which shows a plain text summary of what we expect to extract or report from the test:

  • for invalid inputs it shows the error message produced by the modular_test loader logic

  • for valid inputs it shows the test layout, highlighting what each module contents and dependencies are.

In the future, modular tests will be written in the style of the non-error test cases.