apache / opendal

Apache OpenDAL: One Layer, All Storage.
https://opendal.apache.org
Apache License 2.0
3.44k stars 481 forks source link

binding/c: Implement test framework #3472

Open Xuanwo opened 1 year ago

Xuanwo commented 1 year ago

Test framework should do the following things:

The usage will be like:

OPENDAL_TEST=memory make behavior_test

Tasks

Zheaoli commented 1 year ago

/assign

Xuanwo commented 1 year ago

/assign

Hi, it seems like you have a lot on your plate with opendal. How about tackling this issue later if no one else shows interest?

Zheaoli commented 1 year ago

Hi, it seems like you have a lot on your plate with opendal. How about tackling this issue later if no one else shows interest?

SGTM

xyjixyjixyji commented 1 year ago

I think we should split the test framework part with the capability part. And can first support the bdd test on different services IMO.

Xuanwo commented 1 year ago

And can first support the bdd test on different services IMO.

I'm sure that you don't want to do this: we have over 30+ services and every service may have more than one setup.

xyjixyjixyji commented 1 year ago

And can first support the bdd test on different services IMO.

I'm sure that you don't want to do this: we have over 30+ services and every service may have more than one setup.

I mean we can just set up using the environment variables just like other bindings test framework right?

But of course we can setup the framework and capabilities first.

Xuanwo commented 1 year ago

I mean we can just set up using the environment variables just like other bindings test framework right?

I didn't get this. If this has been implemented, you have done 80% work of the test framework 🤣

xyjixyjixyji commented 1 year ago

I mean we can just set up using the environment variables just like other bindings test framework right?

I didn't get this. If this has been implemented, you have done 80% work of the test framework 🤣

Lol that's true🤣 I can do the capabilities part first. We can see for a while if anyone is interested in this task.