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

Feature request: support test subcommands? #60

Open
jmmills opened this issue Jul 8, 2016 · 0 comments
Open

Feature request: support test subcommands? #60

jmmills opened this issue Jul 8, 2016 · 0 comments

Comments

@jmmills
Copy link

jmmills commented Jul 8, 2016

It would be nice to be able to breakout tests on a container into sub-commands, this would be useful for CI/CD integration v. Developer workflow.

Example, a python app that might need coverage reports generated in junit, but developers want console tests:

app:
  image: myorg/app
  build: Dockerfile
  test:
    default: nosetests --with-coverage --with-timer 
    ci: nosetests --with-xunit --with-coverage 

Thus, development workflow for testing would be done with captain test running the default target, and a CI server could call captain test ci to run a custom test command.

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

1 participant