Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support BDD test in C binding #2185

Closed
2 tasks done
xyjixyjixyji opened this issue May 1, 2023 · 3 comments
Closed
2 tasks done

feat: Support BDD test in C binding #2185

xyjixyjixyji opened this issue May 1, 2023 · 3 comments

Comments

@xyjixyjixyji
Copy link
Contributor

xyjixyjixyji commented May 1, 2023

The BDD test for bindings currently in OpenDAL uses following features

  • Write
  • Stat
    • Content Length
    • Metadata
  • Read

Currently the C-binding for OpenDAL supports write and read, to support BDD test, we need

Since cucumber-cpp is hard to use, we should check the BDD tests' content and implement framework-based test (e.g. GTest).

@Xuanwo
Copy link
Member

Xuanwo commented May 1, 2023

I tried cucumber-cpp but it's really hard to use, so I think it's not a good idea anymore. Do you have interest to implement BDD-alike test in gtest or other testing framework for C?

@xyjixyjixyji
Copy link
Contributor Author

I tried cucumber-cpp but it's really hard to use, so I think it's not a good idea anymore. Do you have interest to implement BDD-alike test in gtest or other testing framework for C?

Of course, I will have a look at GTest then.

@xyjixyjixyji
Copy link
Contributor Author

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants