openebs-archive/openebsctl

Discussion: Folder Structure revision for openebsctl

Aberta

#124 aberto em 6 de out. de 2021

 (0 comentário) (0 reação) (0 responsável)Go (22 forks)auto 404
good first issue

Métricas do repositório

Stars
 (33 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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

Guia do colaborador