Skip to content

Ability to run tests that require '--pub-serve' #79

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

Closed
greglittlefield-wf opened this issue Oct 9, 2015 · 1 comment
Closed

Ability to run tests that require '--pub-serve' #79

greglittlefield-wf opened this issue Oct 9, 2015 · 1 comment

Comments

@greglittlefield-wf
Copy link
Contributor

When testing code that is modified by Pub transformers, pub run test needs to be run with the --pub-serve option. See: https://github.com/dart-lang/test#testing-with-barback.

Right now, there's not a way to pass in that flag.


What would be really awesome is if --pub-serve support was be integrated, and dart_dev also spun up a Pub server automatically before running the tests.

The test package has a utility it uses in its tests that could probably be leveraged as a starting point.

That's a little more involved, though...

@greglittlefield-wf
Copy link
Contributor Author

Closing this; fixed in #92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants