beyondstorage / go-storage

A vendor-neutral storage library for Golang: Write once, run on every storage service.

Home Page:https://beyondstorage.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add feature flag support

JinnyYi opened this issue · comments

We use go-integration-test to execute integration tests on services. And all services should add integration tests for operations declared in service.toml.

Excepted Behavior

All services should pass integration tests for operations declared in service.toml, including the basic interface tests, uniformized behavior and some characteristics.

Current Behavior

For some features or behavior, not all services are supported. When we make these behaviors mandatory test cases, there are problems with some integration test cases not passing. And non-stop split tests will lead to too much content to test and complex test cases.

Possible Solution

Add feature flag support:

  • Services should declare supported features.
  • go-integration-test run the tests cases according to the features.

Related Issues

This issue will also fix #756 (comment)