openebs / openebsctl

`openebsctl` is a kubectl plugin to manage OpenEBS storage components.
Apache License 2.0
29 stars 21 forks source link

Discussion: Folder Structure revision for openebsctl #124

Open Abhishek-kumar09 opened 3 years ago

Abhishek-kumar09 commented 3 years ago

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