Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Unit Tests for ECS Cluster Push #39

Open
rdbatch opened this issue Oct 5, 2018 · 3 comments
Open

Add Unit Tests for ECS Cluster Push #39

rdbatch opened this issue Oct 5, 2018 · 3 comments
Labels
enhancement New feature or request Hacktoberfest Issues great for Hacktoberfest contributors

Comments

@rdbatch
Copy link
Contributor

rdbatch commented Oct 5, 2018

The ECS Cluster Push functionality needs unit tests, we don't have a good way of validating new functionality (outside manual testing).

@rdbatch rdbatch added enhancement New feature or request Hacktoberfest Issues great for Hacktoberfest contributors labels Oct 5, 2018
@AmmadHassanPro
Copy link

Just landed on his project and it seems to be a good place to contribute to. Can I get some more info, on what kind of unit tests we are looking at?

@rdbatch
Copy link
Contributor Author

rdbatch commented Oct 8, 2018

Hey @AmmadHassanPro, the bulk of the functionality for this issue in particular lives here https://github.com/libertymutual/herman/blob/master/src/main/java/com/libertymutualgroup/herman/aws/ecs/cluster/EcsClusterPush.java. I would say that we're generally looking for tests that verify that the AWS SDK calls happen with the proper inputs, or calls to other packages within the project (like calling out to push a CFT). I think you'll definitely need to mock some of the functionality that the AWS SDK has, since we're looking for tests that can run on their own and not necessarily running against an actual AWS account.

Does that help? Certainly let us know if you have any questions and we'll try to respond as quickly as possible. Thanks in advance for your contribution!

@AmmadHassanPro
Copy link

Hey , Thanks for the heads up. I will go through the project and will let you know , if I have any question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hacktoberfest Issues great for Hacktoberfest contributors
Projects
None yet
Development

No branches or pull requests

2 participants