openebs-archive/openebsctl

Discussion: Folder Structure revision for openebsctl

开放

#124 创建于 2021年10月6日

 (0 条评论) (0 个反应) (0 位负责人)Go (22 个派生)auto 404
good first issue

仓库指标

星标
 (33 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南