You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
🐛 Bug Report: You've forgotten to add unit tests to the repo #90
Activity
lohanidamodar commentedon Sep 21, 2022
@xni06 Thank you for raising the issue. We do welcome the contribution if anyone is interested. However, the unit tests will have to be written in our https://github.com/appwrite/sdk-generator As our SDKs are generated from swagger specs, we need to generate relevant tests using the specs as well. We do plan on adding tests to all our SDKs.
Shiba-Kar commentedon Dec 2, 2022
How can I test this peace of code in the test folder ?
xni06 commentedon Dec 2, 2022
Inject the dependencies; use https://pub.dev/packages/fake_cloud_firestore; verify/expect the outcome
Shiba-Kar commentedon Dec 3, 2022
@xni06 not working with firebase , I am working with Appwrite Databases
xni06 commentedon Dec 3, 2022
It's the same principle - fake it
lohanidamodar commentedon Jun 22, 2023
@xni06 We have now added unit tests with our SDK, we have about 73% test coverage.