Files
sdk/pkg/modular_test/test/loader/readme.md
T
Sigmund Cherem ef0c812b0d Add support for loading a modular test folder and specifying deps in yaml
To test the loading logic, I created sample modular test folders which also
illustrate what modular tests will look like in the future.

Change-Id: Iaa8e076e5be66107391d258f5c72456c89841123
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/101780
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2019-05-08 21:18:19 +00:00

19 lines
728 B
Markdown

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 mesage 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.