Giter VIP home page Giter VIP logo

Comments (6)

raineorshine avatar raineorshine commented on June 5, 2024 2

@thebergamo Thanks for your interest in contributing! I created a CONTRIBUTING.md with a roadmap. Let me know if you have any questions or if there is any part of the process I can make clearer.

Note: I think querybuilder.js is generic enough to work for both the card and set APIs. If that's the case, adding support for set may only be a matter of adding set: qb('set') to the object exported by index.js. Making this change and creating corresponding unit tests for set could be an easy way to get started!

from mtg-sdk-javascript.

raineorshine avatar raineorshine commented on June 5, 2024 1

Hi Abner! Thanks for wanting to contribute!

Currently the only function exposed in the javascript api is card(). An obvious endpoint to add would be set() to find a set by code. The same could be done for the types, subtypes, and supertypes apis. A good starting point would be to add unit tests for the missing features, then building them in TDD style.

Let me know if you have any questions along the way, I'm happy to support you!

from mtg-sdk-javascript.

sunsheeppoplar avatar sunsheeppoplar commented on June 5, 2024

Hey Raine. Thanks for answering back so quickly. I'm looking through the test suite now. To be honest, I haven't done a whole lot of TDD before but am familiar with some aspects of it and have done some basic stuff with RSpec. Anything you think would be helpful to read for Chai in particular before jumping in?

from mtg-sdk-javascript.

raineorshine avatar raineorshine commented on June 5, 2024

It really depends on your understanding of unit testing. If the overall
concept is fuzzy, I would suggest finding some general intro tutorials on
unit testing. If you mostly just need to understand the syntax of chai,
read up on the documentation. Look through the tests of this project again
and notice how they call library functions and compare the results with
hardcoded values to prove that they do what they intend.

mocha is the test runner (what runs the tests, parsing "describe" and "it"
blocks to generate coherent output) and chai is the assertion library
(giving you the functions to assert that values are equal, unequal, have a
given property, have a given type, etc).

You are welcome to ask me questions for anything that is confusing to you!

On Mon, Aug 1, 2016 at 12:37 AM Abner Yang [email protected] wrote:

Hey Raine. Thanks for answering back so quickly. I'm looking through the
test suite now. To be honest, I haven't done a whole lot of TDD before but
am familiar with some aspects of it and have done some basic stuff with
RSpec. Anything you think would be helpful to read for Chai in particular
before jumping in?


You are receiving this because you commented.

Reply to this email directly, view it on GitHub
#2 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtyxIUM-RgOc2SpoKQRBYWEVps1l0q_ks5qbZQVgaJpZM4JYvCY
.

from mtg-sdk-javascript.

thebergamo avatar thebergamo commented on June 5, 2024

Hi! This project is awesome!

Can you add a roadmap and the apis must be added?

I want to contribute to this project too :D

from mtg-sdk-javascript.

adback03 avatar adback03 commented on June 5, 2024

Closing this because @raineorshine's latest comment seems to cover everything. The addition of the CONTRIBUTING.md should also help answer any future questions about contributing.

from mtg-sdk-javascript.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.