Michael Phung
-
You would fit automated tests within a Github action that runs whenever code is pushed because it allows for you to automatically test new versions of your code as updates get pushed to your repository.
-
No
-
No because testing a feature is more suited for end to end testing since it involves a user writing and sending a message to another user which would be best tested by emulating user actions from start to finish.
-
Yes because you are testing an individual part of the code in an encapsulated unit which will not interact with other parts of the codebase which is what unit tests are for.