Running either (or both) with --port #### (even if it is the same number for both) results in success, but prints a warning:
The option '--port' is not registered with the test command. Run
ember test --helpfor a list of supported options.
can you share versions of:
Of course.
(By the way, I think it's awesome that ember -v gives all of these in one shot.) :+1:
@nickiaconis We no longer use --port to set the port number when running ember test --server. It was changed to --test-port.
ember test --server --test-port=12345 will work fine
Change was in https://github.com/ember-cli/ember-cli/pull/3239
@patocallaghan Thanks for that tip. I'm still confused why ember test needs to bind a port in the first place, since it's only running in phantom.
I'm also confused as to why running ember test --port 1234 and ember test --serve --port 1234 simultaneously works, but running ember test and ember test --serve simultaneously does not.
@nickiaconis ember test uses testem under the hood and that would still need to use a port. If you add Chrome to your list of tested browsers you'll see it opens up with http://localhost:7357.
Most helpful comment
@nickiaconis We no longer use
--portto set the port number when runningember test --server. It was changed to--test-port.ember test --server --test-port=12345will work fineChange was in https://github.com/ember-cli/ember-cli/pull/3239