celestiaorg / knuu

Integration Test Framework
Apache License 2.0
39 stars 34 forks source link

Combine test files #405

Closed MSevey closed 2 weeks ago

MSevey commented 4 months ago

Currently most of the e2e test files only contain 1 test. This makes it harder to see optimizations between tests.

A good example of this is the folder tests. The folder and cached folder tests are basically the same test with the exception of the cached tests also using multiple instances and adding folders after a commit instead of before.

90% of these two tests is duplicated.

This is probably also true for the file tests.

The test files should be more general, and contain all the tests associated with that scope. i.e. folder_test.go should contain all tests associated with folders.