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

Determine the nature of two test classes #187

Open
1 task
mslowiak opened this issue Jan 26, 2021 · 4 comments
Open
1 task

Determine the nature of two test classes #187

mslowiak opened this issue Jan 26, 2021 · 4 comments
Labels
help wanted Extra attention is needed

Comments

@mslowiak
Copy link
Contributor

mslowiak commented Jan 26, 2021

Task Description

We have in project two classes:

  • NewAsynchronousFileChannelTestIT
  • NewByteChannelIT

The classes are annotated with integration test annotation and extending S3UnitTestBase.

Tasks

The following tasks will need to be carried out:

  • We should determine if that test classes are either unit tests or integration tests and mark them appropriately.

Task Relationships

This task:

Help

@steve-todorov
Copy link
Collaborator

After doing some digging for #199, I can say these two tests are for sure integration tests as they are creating resources in the S3 buckets. The class name S3UnitTestBase is definitely confusing and we should maybe make it something like abstract S3BaseTest extends BaseTest. I'm not 100% sure about the naming yet though.

// cc @carlspring

@carlspring
Copy link
Owner

The name S3UnitTestBase does not intuitively imply that this is an integration test-related class. We should have a base test clas for integration tests. We can call it something along the lines of S3IntegrationTestBase.

@steve-todorov
Copy link
Collaborator

Actually I forgot we now have BaseIntegrationTest since #183 and #186. We could probably move these methods there and remove S3UnitTestBase ?

@carlspring
Copy link
Owner

Yes, it would make more sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants