-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Explore which macros might make sense to add for this package #2252
Comments
It would be interesting to see if we could eliminate the need for https://github.com/dart-lang/test_reflective_loader via macros. |
cc @scheglov |
Right, and I do think that should be quite possible. Maybe these macros would make the most sense as a separate package instead of shipped as a part of package:test as well. |
+1. I think we should find minimal building blocks to put in |
This really only makes sense to do in the SDK I think since you can't just use the normal test runner in a reasonable way. Although fwiw if we migrated the SDK to use the new workspaces feature, it could become reasonable to use the normal test runner potentially... we would only need the path overrides for all packages in a single place, and could drop our custom package config generator.... and running |
I almost exclusively run either one test file, or a set of Another quite often used feature is annotating tests with I like the way of thinking that |
All of those features are supported by the test runner, yes (among many more not supported by the SDK runner). |
Some ideas are:
Tests as annotated top level functions or instance methods
This could be an optional feature, some elevator pitches are:
These could translate to existing framework code in a fairly straightforward manner:
Test bootstrapping to support async test declarations
Generates:
The text was updated successfully, but these errors were encountered: