py-Goldsberry icon indicating copy to clipboard operation
py-Goldsberry copied to clipboard

Testing

Open bradleyfay opened this issue 9 years ago • 7 comments

Need to develop and integrate testing framework for the package.

bradleyfay avatar Jul 17 '15 22:07 bradleyfay

Hey,

I'm interested in working on this, and potentially other enhancements down the line.

Any thoughts on what you want to use?

bpblanken avatar Aug 22 '15 01:08 bpblanken

Awesome.

To be honest, I have no idea. I was reading through a blog about open sourcing a package when I first started building and one of the features they talked about was automatic testing.

If you want to take ownership of that aspect and choose a direction, that would be great. You'll just have to teach me a bit about it along the way.

bradleyfay avatar Aug 22 '15 01:08 bradleyfay

Are you talking about doing Travis-CI integration?

2bitProgammer avatar Aug 22 '15 02:08 2bitProgammer

That's what I had started but haven't taken time to learn how to do it correctly. Package works but just get failure messages from Travis.

Any help here would be thoroughly appreciated.

bradleyfay avatar Aug 22 '15 02:08 bradleyfay

Yes. All that good stuff.

bpblanken avatar Aug 22 '15 03:08 bpblanken

With the new refactor, I'm taking advantage of classing to minimize duplicate code.

Once it's done I think it should be easier to write tests for each modules. Would be great to get some help on this once refactor is done.

Would actually like to consider a jenkins up to periodically test package and all the calls to identify if the NBA makes any other breaking changes to their stats website.

bradleyfay avatar Jan 29 '16 04:01 bradleyfay

@bpblanken Think I finally understand class inheritance in a way that makes building the modules with much less copy and paste. Hopefully it's a bit more straight forward to set up some simple testing.

bradleyfay avatar Feb 09 '16 03:02 bradleyfay