geneeblack / graphql_model_mapper

This gem extends ActiveRecord::Base to facilitate generation of GraphQL objects based on your ActiveRecord models
MIT License
17 stars 2 forks source link

Feature support - write a test suite #2

Open dkniffin opened 7 years ago

dkniffin commented 7 years ago

I think it's important to have tests for all the functionality we have so far. First thing's first though: we should decide on a testing gem. I see you've added minitest, but I also saw ruby/rails is not your native coding language. I prefer rspec personally, because of the style of how the tests are writen.

geneeblack commented 7 years ago

I think that's a good idea, unfortunately I've not a lot of experience in that area with either framework. Essentially, at this point this project is somewhat of a playground and a learning platform for me. While there is some basic functionality supported, I've not yet nailed down the exact featureset that I want to support. Feel free to follow up with examples of what you think might be best. Minitest was just the testing framework that was the default when creating the gem with bundler, so if you have better experience in another framework I'm open to switching.