Skip to content
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

Running/debugging test in the browser has escape sequences in the console #41

Closed
alan-knight opened this issue Mar 23, 2015 · 3 comments

Comments

@alan-knight
Copy link
Contributor

e.g.

  JsFunction
  notification_test.dart.js:12387 
  00:00 �[32m+1�[0m: constructor exists�[0m
  notification_test.dart.js:12387 
  00:00 �[32m+2�[0m: A group of tests First Test�[0m
  notification_test.dart.js:12387 
  00:00 �[32m+2�[0m: All tests passed!�[0m
@nex3
Copy link
Member

nex3 commented Mar 23, 2015

Support for running test files directly in the browser is not planned, at least for the near-to-mid future. Browser tests should be run through the test runner.

@nex3 nex3 closed this as completed Mar 23, 2015
@alan-knight
Copy link
Contributor Author

So if I understand the story as it is in the short term.

  • There is no support for debugging tests from the runner
  • Running tests manually to debug them is discouraged.

The debugging story is run it directly unsupported? Copy and paste it out of the test into somewhere else and debug that? What do we expect to do for things that use unittest but have their own runner. e.g. all current SDK tests.

@alan-knight alan-knight reopened this Mar 26, 2015
@nex3
Copy link
Member

nex3 commented Mar 26, 2015

All debugging stories for browser tests are currently unsupported. That's why #45 is still open. We're still in alpha releases of a pre-1.0.0 version of a complete rewrite of the testing framework—we need to lay a bunch of groundwork before we can start building on it.

@nex3 nex3 closed this as completed Mar 26, 2015
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