BendJS / bend-community-site

Community website for all tech sectors in Bend. #BendHacktoberfest
1 stars 16 forks source link

Resolves #5: Testing #18

Closed Concross closed 5 years ago

Concross commented 5 years ago

It's our understanding that these initial basic tests will quickly become obsolete as the project evolves. The goal here was to quickly get up some example tests for reference with documentation to follow as tests are added.

Co-authored-by: Cody Swartz ctsstc@user.noreply.github

JacobMGEvans commented 5 years ago

I highly suggest you reconsider using https://github.com/testing-library/react-testing-library react-testing-library is what's encouraged by the React core team and maintainers as well. Reacts documentation on testing https://reactjs.org/docs/testing.html#tools

Concross commented 5 years ago

@JacobMGEvans thanks for the suggestion. I looked into it further and I'm in favor of starting with the react-testing-library because we can reduce some (very minimal) boilerplate and potentially support testing for other languages down the road. Thanks for the input!

JacobMGEvans commented 5 years ago

As soon as this is merged in I am up for writing some tests.

Concross commented 5 years ago

Closing while I resolve these issues