appsody / controller

Appsody controller running in the development container. This repo will be archived soon.
https://appsody.dev
Apache License 2.0
2 stars 12 forks source link

Add --no-watcher flag to disable file watching regardless of the Docker Environment Variable settings. #21

Closed kewegner closed 5 years ago

kewegner commented 5 years ago

Is your feature request related to a problem? Please describe.

Stacks are inconsistent in the behavior of appsody test (some run through and quit, others run and then watch). For a script or other automation, you want to be able to run the tests and quit with the appropriate result based on failures. There isn’t anyway to specify this behavior via the appsody command line at the moment.

Doing any kind of manipulation on test output to determine when tests are done is language/stack specific and fragile. Trying to force all stacks to behave identically with appsody test is also not useful, as we expect further customization of stacks...

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

appsody test --no-watcher could work.

I want the stack specified tests to run, but for the process to terminate and return with the result of the executed command.

Related to appsody/stacks#308 —> appsody/stacks#323