gundb / feature-requests

What extra features do you want for gun? Discuss here!
10 stars 0 forks source link

language agnostic testsuite #34

Closed alinz closed 5 years ago

alinz commented 5 years ago

gundb is getting popular these days and having a global test-suites will make it possible for people to port it to other languages a lot easier and by confident. Also update in spec can be identified and fixed in all implementations.

for example websocket has autobahn-testsuite which can test client and server implementation.

Have you thought about this?

amark commented 5 years ago

This is an excellent idea, @alinz !

I've been having people manually test by following the steps in https://gun.eco/docs/Porting-GUN , but that obviously has very low coverage and is not automated.

Though I'm not exactly sure how to do it language-agnostic? Could maybe try pointing some of the PANIC tests at different other-language peers?

How would you do this?

alinz commented 5 years ago

I'm glad that you like the idea, I'm willing to put the afford to move this to next phase, but I need one crucial component. And that is GunDB internal RFC. Porting-GUN documentation is a step but it missing a lot of content. Having a RFC, dictates roles and as long as you follow the roles it will work. Once we have a RFC, we have a way to implement global test-suites based on that.

Writing RFC is boring as hell and is not exciting as the actual coding part, but it is an essential to make the project moving forward.

alinz commented 5 years ago

I'm gonna close this as I need more time to rethink about this. Will open another in the future.

amark commented 5 years ago

no worries!

amark commented 5 years ago

This is a good place to keep things open, even if for long term stuff.

I'm not able to write RFC myself, unfortunately. People have done several ports of GUN in matter of hours / or weekend, and that is usually because of the hands-on code/tutorial for porting. What are the missing points? (I'm sure there are lots...)