Skip to content

Project missing automated tests #7

@sarkis

Description

@sarkis

I know this is on the radar, however, I wanted to open an issue to track discussion/Qs/thoughts on how to proceed.

Unit Tests: I'm thinking of ways to mock the tcp "part" for the unit tests - I found this: https://golang.org/pkg/net/#Pipe. Using this will allow unit tests to run in parallel and not require messing with ports on the system.

Integration Tests: since we need to actually test the server part here - mocking is less useful. This would consist of testing health-checker with different number of args and ensure it is starting and then returning the expected http codes for different requests.

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