Skip to content

🚀 Feature: Unit Tests #680

Open
Open

Description

@stnguyen90

💭 Description

Add unit tests for each SDK

For reference on how to do this, refer to the Flutter/Dart templates: #673

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Activity

  1. added
    help wanted
    on Jun 22, 2023
  2. tewarig commented on Jun 27, 2023

    @tewarig

    can i work on this ? would love to add test for web

  3. lohanidamodar commented on Jun 29, 2023

    @lohanidamodar
    Member

    @tewarig sure you can get started.

  4. added
    hacktoberfest
    on Sep 30, 2023
  5. prathamesh3707 commented on Oct 3, 2023

    @prathamesh3707

    i would like to work

  6. leonyangela commented on Oct 3, 2023

    @leonyangela

    Hi @Haimantika, can I work on node?? Thank you

  7. Haimantika commented on Oct 3, 2023

    @Haimantika

    i would like to work

    Hi @prathamesh3707 have assigned the issue to you! Thank you for showing interest in contributing to Appwrite! Happy Hacktoberfest 🎃

    Notes:

    Please update us with your progress every 3 days, so that we know that you are working on it.
    Join us on Discord - https://appwrite.io/discord to chat about Hacktoberfest and Appwrite!

  8. Haimantika commented on Oct 3, 2023

    @Haimantika

    Hi @Haimantika, can I work on node?? Thank you

    Hi, we are assigning issues on first-come first-serve basis. If @prathamesh3707 drops/is unresponsive, will assign it to you.

  9. Haimantika commented on Oct 6, 2023

    @Haimantika

    Hi @prathamesh3707 any update? This issue will soon be reassigned to the next person due to inactivity

  10. prathamesh3707 commented on Oct 7, 2023

    @prathamesh3707

    sorry, i saw it just now. Thanks for assigning it to me! I am working on it

  11. Haimantika commented on Oct 11, 2023

    @Haimantika

    sorry, i saw it just now. Thanks for assigning it to me! I am working on it

    Hi, let us know in Discord if you have any questions :)

  12. prathamesh3707 commented on Oct 11, 2023

    @prathamesh3707

    Ya sure , I need a little help in getting started , I'll ask there. Is there any deadline for this?

  13. removed their assignment
    on Oct 13, 2023
  14. mvarendorff commented on Oct 13, 2023

    @mvarendorff
    Contributor

    Heyyo! I would like to pick this up if possible. Let me know and I'll get started soon :)

  15. airwakz commented on Oct 14, 2023

    @airwakz

    @Haimantika can i work on this

  16. ujju200 commented on Oct 15, 2023

    @ujju200

    Can I work on this issue?

  17. Haimantika commented on Oct 17, 2023

    @Haimantika

    @leonyangela you are up next, would you like to work on it?

  18. stnguyen90 commented on Oct 18, 2023

    @stnguyen90
    ContributorAuthor

    @leonyangela, the assignee would need to work on all the languages. Would you still like to work on this?

  19. leonyangela commented on Oct 18, 2023

    @leonyangela

    Hi @stnguyen90 @Haimantika thanks for mentioning me, I’m not sure if I can do it for all languages, you can assign it to the next person. Thanks

  20. Haimantika commented on Oct 19, 2023

    @Haimantika

    Heyyo! I would like to pick this up if possible. Let me know and I'll get started soon :)

    Hi, you are up next, would you like to work on it?

  21. mvarendorff commented on Oct 19, 2023

    @mvarendorff
    Contributor

    @Haimantika yes, I'd love to!

  22. mvarendorff commented on Oct 20, 2023

    @mvarendorff
    Contributor

    Alrighties, I can give a quick update already!

    I have started working on Kotlin / Android test and what I am relatively sure about is that I won't finish all languages and frameworks by the end of the month; they are just too many and I am not familiar with unit testing or even the language at all in them (never written any Ruby or Swift before for example). On top of that, I might even have to tweak some stuff here or there; the Android SDK for example is not really fit for (generated) unit testing because it relies on generics to return stuff which is not really nicely mockable. The Dart / Flutter SDK on the other hand uses a helper Response class which is handled by each Service internally which is something I am likely to copy over to the Kotlin one.

    Since I am not sure how many of such bumps I am going to encounter, I just wanted to let you know that it's probably not going to be done by October 31st. I will put up a draft PR as soon as I have one of the checkboxes ticked though and will update as often as I can!

  23. mvarendorff commented on Oct 23, 2023

    @mvarendorff
    Contributor

    3 day update: Kotlin and Android now share the same testsuite and a bit of the generated SDK's code (where it was easily doable). I don't know if it makes more sense to have individual PRs per SDK (genuinely orga-wise, not because I am greedy for PRs)?

  24. mvarendorff commented on Oct 27, 2023

    @mvarendorff
    Contributor

    Next 3(-ish) day update! I am working fulltime next to this so I haven't been able to continue work on this in the last couple days, however plan for this weekend is tackling deno (and probably in extension node).

    Question @stnguyen90 : Would you rather have separate PRs per language / framework (or group of them in case of android/kotlin) or everything in one?

  25. mvarendorff commented on Nov 19, 2023

    @mvarendorff
    Contributor

    Heyyo, quick update: I will hold off on working on the remaining ones (ruby, swift and web(?)) for now since all changes made to the SDK (like the Query.between serialization) require quite some work updating all the active branches. So for the time being my last goal is fixing the pipeline for the Android / Kotlin PR and then stay quiet for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

hacktoberfesthelp wanted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions