Is it possible to check if a controller works before running the project?

I’m new to this language.

Is it possible to check if a controller works before running the project?
Former:

I have 4 controllers in 1 project(Phoenix),
I want to test each one …
If an error appears.
I’ll be able to find out where the problem is.

If so, which commando would it be?

1 Like

mix test?

1 Like

@startelixir: Testing Phoenix controllers - it’s ok to ask newbie questions, but before it please search if it’s not already described

3 Likes