openebs-archive/openebsctl

Discussion: Folder Structure revision for openebsctl

Open

#124 opened on Oct 6, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Go (22 forks)auto 404
good first issue

Repository metrics

Stars
 (33 stars)
PR merge metrics
 (PR metrics pending)

Description

Currently tests and the codebase is written together with their test_data all in one folder making it hard dig through the files and folders once it starts to mature. Can we think of making a parent folder with e2e tests written like:

|-cmd
|-tests
|-pkg

or we can think of writing tests within the same package that we are doing now, but extract out all the test resources in their own folder named like tests

|-cmd
 `|-client
   `|-test
     `|-test.go
      |-test_data.go
   `|k8s.go

Contributor guide