Skip to content

Unit Test wishlist #6

@JosephRedfern

Description

@JosephRedfern

Having some unit tests will help prevent mistakes like mine reported here: #2 (comment)

It would be good if we had some test data with which to test parsing regexes. We should try and get as much of a spread as possible, across different OS's and ping versions (although I suppose it's unlikely that the output will change much, it'd be good to test).

As a minimum, it would be good to have examples for:

  • successful ping (0% packet loss)
  • some packet loss (~50%)
  • total packet loss (no response)
  • non-existent domain
  • no route to host.

across multiple OS types and ping versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions