-
Notifications
You must be signed in to change notification settings - Fork 353
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
Refactor NamedOperationCacheIT #3171
Comments
Hi, i want to work on this issue. |
We usually assign the issue after a PR has been opened against it. We always ensure the contributor is assigned to the issue before it is closed - this ensures the contribution is recorded in our release notes. |
There are some details on our ways of working page. However as you are an external contributor, I don't believe it matters so much as the automation to link PR to issue may not pick up the branch anyway as it will be in your fork. We will link it manually before merging. |
com.google.common.collect.Lists |
That is an option, although |
I have resolved this issue and have created a pull request. |
* Refactor NamedOperationCacheIT * Remove method which manually calls JUnit test methods * Make Array add more concise with forEach and method reference * Use Arrays where possible * Remove duplicated setup code in tests * Remove duplicated creation of GetAllNamedOperations --------- Co-authored-by: GCHQDeveloper314 <94527357+GCHQDeveloper314@users.noreply.github.com>
Describe the new feature you'd like
Refactor of
NamedOperationCacheIT.java
to use JUnit correctly.Why do you want this feature?
This class has a single
@Test
method which then proceeds to run multiple tests by manually calling methods. Instead, these should all be annotated as individual tests for JUnit to run itself. There are also some methods annotated as before and after which are simply run manually.Use of
com.google.common.collect.Lists
should also be removed as it is unnecessary.The text was updated successfully, but these errors were encountered: