Skip to content

Conversation

@EgorkaKulikov
Copy link
Collaborator

Description

Try to make world better with Spring autotesting.

How to test

Automated tests

Run utbot-samples pipeline and add these new tests to CI in future

Self-check list

  • I've set the proper labels for my PR (at least, for category and component).
  • PR title and description are clear and intelligible.
  • I've added enough comments to my code, particularly in hard-to-understand areas.
  • The functionality I've repaired, changed or added is covered with automated tests.
  • Manual tests have been provided optionally.
  • The documentation for the functionality I've been working on is up-to-date.

@EgorkaKulikov EgorkaKulikov added ctg-enhancement New feature, improvement or change request ctg-qa Issue is related to QA process comp-spring Issue is related to Spring projects support labels Jul 4, 2023
@EgorkaKulikov EgorkaKulikov force-pushed the egor/autotests_for_spring_experiment branch 2 times, most recently from 4511806 to 568c9fb Compare July 7, 2023 11:00
@EgorkaKulikov EgorkaKulikov force-pushed the egor/autotests_for_spring_experiment branch from b225597 to b469f93 Compare July 7, 2023 11:34
@EgorkaKulikov EgorkaKulikov marked this pull request as ready for review July 7, 2023 11:35
@EgorkaKulikov EgorkaKulikov changed the title Autotests for Spring experiment First autotests for tests generation on Spring projects Jul 7, 2023
@EgorkaKulikov EgorkaKulikov requested a review from Damtev July 7, 2023 12:46
Copy link
Member

@Damtev Damtev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

CodegenLanguage.JAVA ->
when (parametrizedTestSource) {
ParametrizedTestSource.DO_NOT_PARAMETRIZE -> "public void "
ParametrizedTestSource.DO_NOT_PARAMETRIZE -> "@Test"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because of setUp and tearDown methods

@EgorkaKulikov EgorkaKulikov enabled auto-merge (squash) July 7, 2023 13:07
@EgorkaKulikov EgorkaKulikov merged commit 199a315 into main Jul 7, 2023
@EgorkaKulikov EgorkaKulikov deleted the egor/autotests_for_spring_experiment branch July 7, 2023 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-spring Issue is related to Spring projects support ctg-enhancement New feature, improvement or change request ctg-qa Issue is related to QA process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants