Skip to content

Run specs through docker image #2

@solsson

Description

@solsson

Two benefits if Testbeat can run from docker image:

  • No need for gem install this and that
  • Can test a dockerized service using a link

Will it also be able to test a service by name in the host's hosts file? If so there's not many drawbacks.

Specs can be for example /spec/*_spec.rb by default, overridable with env. /spec can be COPY'd to in a downstream Dockerfile, or simply mounted as volume.

NODE is no longer a good name, and maybe never was, for the System Under Test. In contexts of Docker or Kubernetes it is rather a Service. We can keep the NODE env for backwards compatibility but use something else to name the link. svc or service or sut or target

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions