This project can be realized in many languages I can use, I can use PHP, Java, Js, Node.js Here,I will resolve the project by using PHP、Java
The following answers :
- Containers MakeFileScript script file basic role
1.Install dependencies and updates
make composer-update
2.Run test
make tests
3.Starting the development environment
make dev-up
4.Run tests in development environment
make dev-tests
- Containers MakeFile related docker-compose.yml need modify
It's best to use the repository address for the image to make sure latest feature.
image: https://github.com/talk-ming/recruit/php
- MyGreeterTest Class need modify
- 1.Adding namespace
- 2.Modify method hump naming
- 3.Use Mock object to test
- Similar to php, the method is validated using unit test.