MarcusOtter / APOD.Net

An unofficial .NET wrapper for NASA's Astronomy Picture of the Day API.
https://marcusotter.github.io/APOD.Net/
MIT License
9 stars 2 forks source link

Refactor older tests and introduce test classes as context #27

Open MarcusOtter opened 4 years ago

MarcusOtter commented 4 years ago

Is your feature request related to a problem? Please describe. The oldest unit tests aren't very readable, because of my lack of experience with unit testing at the time.

Describe the feature you'd like They should be refactored to arrange in the constructor instead of redoing everything multiple times. It would also be good to introduce test classes as context, read more here.