nimblehq / elixir-templates

Our optimized Elixir templates used in our projects
https://nimblehq.co
MIT License
86 stars 6 forks source link

Add API fallback controller test for 100% coverage #185

Closed bterone closed 2 years ago

bterone commented 2 years ago

Why

When creating a new API project, the newly created project doesn't immediately have 100% test coverage

Screen Shot 2022-03-28 at 5 21 01 PM

By creating a fallback_controller_test and copying it at the same step as copying the fallback controller

We can achieve full 100% coverage, without any manual work.

Who Benefits?

Developers creating new API projects. 🧑‍💻 👩‍💻

bterone commented 2 years ago

We don't need this one as we are skipping the fallback controller in the coverage report #186