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 command silently contains ember-try installation output #99

Closed
gmurphey opened this issue Oct 5, 2016 · 2 comments
Closed

Running command silently contains ember-try installation output #99

gmurphey opened this issue Oct 5, 2016 · 2 comments

Comments

@gmurphey
Copy link

gmurphey commented Oct 5, 2016

I'm writing a scenario to test internal, unpublished dependencies and running the following command in our CI environment:

ember try:one development --- ember test -r xunit --silent > test-log.xml

This seemingly runs without issue, but when we try to parse that file, we find that some ember-try output is appended and prepended to the file.

bower ember#~2.8.0              cached https://github.com/components/ember.git#2.8.1
...more bower installation output...

...xunit xml output...

...more bower rollback output....
bower jquery#>=1.8.3                                       cached https://github.com/jquery/jquery-dist.git#3.1.1

I'm happy to dig into this. Just wanted to put it out there if anyone else had ideas on what this could be.

@gmurphey
Copy link
Author

gmurphey commented Oct 5, 2016

I was able to handle this more cleanly with testem.js.

@gmurphey gmurphey closed this as completed Oct 5, 2016
@kategengler
Copy link
Member

For anybody running into this in the future:

After #107 lands:

ember try:one development --- ember test -r xunit --silent > test-log.xml puts the output of the ember try command into test-log.xml

But, this:
ember try:one development --- 'ember test -r xunit --silent > test-log.xml' will put the output of just the test command into test-log.xml

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