Details
-
Task
-
Resolution: Fixed
-
Major
-
None
-
None
-
None
-
DOC-2021-Oct10-S20, DOC-2021-Oct24-S21, DOC-2021-Nov07-S22
-
1
Description
Tests are at https://github.com/couchbaselabs/try-cb-test and done using Bats.
(As we're using it already for the Doc example automation testing project, and it's SDK neutral. Could port the tests to another framework if required, of course, as it only needs to be done in one place.)
Tests can be run from any of the backends that have been updated by running docker-compose --profile test up test
That's not great for iterative work though, so you probably want to start the backend manually, and run the tests from a separate working directory.
Current Progress:
- c
- dotnet PENDING https://github.com/couchbaselabs/try-cb-dotnet/pull/13 BUT check Docker setup ???, I noticed that the connection to backend wasn't starting correctly but seems OK now. Asking Maria to verify.
- go PENDING https://github.com/couchbaselabs/try-cb-golang/pull/5
- java PENDING https://github.com/couchbaselabs/try-cb-java/pull/18
- java SPRING
- nodejs https://github.com/couchbaselabs/try-cb-nodejs/pull/12
- php https://github.com/couchbaselabs/try-cb-php/pull/11
- python https://github.com/couchbaselabs/try-cb-python/pull/24 BUT needs re-work after some test improvements
- ruby ??? https://github.com/couchbaselabs/try-cb-ruby/pull/3 BUT may need re-test
- scala PENDING https://github.com/couchbaselabs/try-cb-scala/pull/5
- Run ALL SDK backends from the test repo, one by one.