CMU-313 / Teedy

GNU General Public License v2.0
7 stars 155 forks source link

Improve branch coverage for ThemeResource by testing null parameters and unauthenticated users #169

Open juliawgraham opened 2 years ago

juliawgraham commented 2 years ago

Overall, ThemeResource has a branch coverage of 57%. More specifically, the theme() method has a branch coverage of 50%. The 3 branches not tested in the theme() method check whether the user is authenticated, if color is null or empty, and if name is null or empty.

juliawgraham commented 2 years ago

I would like to work on this please!

github-actions[bot] commented 2 years ago

Great! I assigned you (@juliawgraham) to the issue. Have fun working on it!