broskoski / mac.are.na

Are.na channel -> playlist
MIT License
45 stars 11 forks source link

tests #43

Open g-a-v-i-n opened 6 years ago

g-a-v-i-n commented 6 years ago

As Cab pointed out in #40, it might be a good idea to have some tests for fundamental features like track increment/decrement. Does anyone know how to write a test for this? It's a little more complex than just asking if a class has changed correctly etc.

broskoski commented 6 years ago

I can set it up!

g-a-v-i-n commented 6 years ago

Yeah! it would be really cool to see how this is done.

g-a-v-i-n commented 6 years ago

I learned how to do this recently for obcheck so I'm gonna write a few with chai/nyc etc. I'm not gonna try to get this 100% covered so won't bother with coveralls or otherwise. I might set up a travis CI process for testing though.