question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ember try:testall should honor all or a subset of 'ember test' arguments

See original GitHub issue
ember try:testall --test-port $MY_TEST_PORT

The option '--test-port' is not registered with the try:testall command. Run `ember try:testall --help` for a list of supported options.

Background: we run multiple concurrent project tests on the same build machine, and our build system chooses a port and exposes it as an environment variable.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kategenglercommented, Mar 12, 2018

@dexturr Your config file can have javascript in it, so you could have:

module.exports = function() {
  return {
    command:  `ember test --test-port=${process.env.BUILD_PORT}`,
    scenarios: [
     // scenarios here
    ]
  }
}
1reaction
kategenglercommented, Mar 8, 2018

Only ember try:one takes a command via the command line like that. For ember try:each the only current way to customize the command is to put it in the config https://github.com/ember-cli/ember-try#configuration-files By default, this is config/ember-try.js but both commands take an optional --config-path https://github.com/ember-cli/ember-try#ember-tryeach

Read more comments on GitHub >

github_iconTop Results From Across the Web

Introduction - Testing - Ember Guides
Ember gives you the power to write tests and be productive from day one. You can be confident that your app will be...
Read more >
Uploading images to S3 in Ember.js – Part 4: Testing
We need to extend the test to allow uploading an image. More precisely, we want to end up with two test cases: one...
Read more >
The Ember Run Loop and Asynchronous Testing
This summer, I interned on the Square Seller Dashboard team, which works on the web application that Square merchants use for everything ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found