GA: Add automated testing?

Open
#292 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, kubernetes

Research direction

Start by reviewing the existing E2E tests and comparing them with the Felix FVs used for other dataplanes. Define an automated strategy covering realistic Kubernetes API scenarios, then document and implement the agreed FV and unit-test coverage so the dataplane's corner cases are exercised.

Written by the indexing model from the issue text.

Description

As discussed during code review, would be good to have an automated testing strategy that parallels what we have for the other dataplanes.

We're already running E2Es but perhaps we can port over some of the Felix FVs and add some UT where it makes sense. for comparison, the Felix FVs run Felix for real, inside a container, against a real k8s API server (but without kubelet). That lets us simulate all kinds of scenarios and corner cases that are tough to reach with E2Es.

Dominant language
Go
Stars
173
Forks
48
Avg merge
15h 53m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from projectcalico/vpp-dataplane

All issues in projectcalico/vpp-dataplane

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.