openebs-archive/openebsctl

Discussion: Folder Structure revision for openebsctl

オープン

#124 opened on 2021/10/06

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Go (22 件のフォーク)auto 404
good first issue

Repository metrics

Stars
 (33 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド