Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Generate parametrized test for methods without force mocking in Uber and sample tests #591 #596#608

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

@sofurihafe
Copy link
Member

Description

Before this PR, we didn't generate any tests for a whole test class if there were force mocking and parametrized test generation mode in one of the methods.
Now, we just exclude methods with force mocking and parametrized mode, generating methods that were not affected by force mocking.

Additionally, there was a bug with parametrized test generation trying to use private inner class as a type for one of the parameters.

Fixes # (591,596)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Automated Testing

RundeepEqualsTest with enabled parametrized test generation. Verify that the generated test class is not empty (there are methods where force mocking didn't take place), instead of being empty after#573.

@EgorkaKulikovEgorkaKulikov merged commitf8e75b7 intomainJul 29, 2022
@EgorkaKulikovEgorkaKulikov deleted the andrey-t/parametrization-in-samples-and-uber-tests branchJuly 29, 2022 11:36
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@EgorkaKulikovEgorkaKulikovEgorkaKulikov approved these changes

@nikitavlaevnikitavlaevnikitavlaev approved these changes

Assignees

No one assigned

Labels

None yet

Projects

Archived in project

Milestone

No milestone

4 participants

@sofurihafe@EgorkaKulikov@nikitavlaev

[8]ページ先頭

©2009-2025 Movatter.jp