-
Notifications
You must be signed in to change notification settings - Fork 218
Add a test runner #2
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
Comments
So far these interfaces don't really do anything, so there aren't any tests. Future commits will use these as a foundation. [email protected] See #2 Review URL: https://codereview.chromium.org//877553009
Do you plan to remove During development phase it's really straightforward to add |
This is not only about enable/disable a test. Especially the xxxConfig should be easily switchable depending for example whether you run the tests from an IDE (which may have some jUnit output support), or from a browser, or from console, .... I experimented with a test runner GUI where I planned to add a GUI to run subsets of the tests on some criterias (failed >0 times in the previous x runs, some meta info added to tests/groups, test run duration - only run tests finished < 0,5sec in the last run, ...) There might be configuration necessary depending on the browser used for the test (content_shell, Firefox, IE) like |
@a14n I'm hoping that an editor will be able to detect the test's name and invoke only that test without any modification of the test file. That's how it typically works in other languages. |
These provide the core test-declaration API. [email protected] See #2 Review URL: https://codereview.chromium.org//917783003
No tests yet; since this uses stdout, I'm planning to wait until we have a runner executable and test that. [email protected] See #2 Review URL: https://codereview.chromium.org//913123006
…lates. This also adds LiveTest.close, which releases resources associated with a LiveTest. [email protected] See #2 Review URL: https://codereview.chromium.org//914963003
This is still extremely bare-bones and won't work with tests that actually import "package:unittest/unittest.dart", but it's something. [email protected] See #2 Review URL: https://codereview.chromium.org//933083002
This preserves the shape of the previous API, but stubs out the functionality. This is a temporary measure designed to make it easier for users to try the runner out on their existing tests. [email protected] Closes #2 Review URL: https://codereview.chromium.org//934413002
We want to make something that can be invoked from the command line to automatically run all the tests in the package. An important component of this is separating out configuration from the actual test code. Right now, the way tests are run and output is formatted is controlled entirely by the test file itself via functions like
solo_test
anduseCompactVmConfig
. These should be controlled by the test runner instead.The text was updated successfully, but these errors were encountered: