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

Hw frut shop test #800

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

kaptetos
Copy link

No description provided.

Copy link

@Rommelua Rommelua left a comment

Choose a reason for hiding this comment

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

https://mate-academy.github.io/jv-program-common-mistakes/java-core/solid/fruit-shop-tests

Before you create PR with your homework, you need to go through the checklist under the task and correct all the points described there. The mentor will not check the work until the checklist points are corrected

}

@Test
public void testHandleTransaction() {

Choose a reason for hiding this comment

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

image

@kaptetos kaptetos requested a review from Rommelua September 29, 2023 07:40
Copy link

@olekskov olekskov left a comment

Choose a reason for hiding this comment

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

Good job

import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

class FruitTransactionTest {
Copy link

@olekskov olekskov Sep 30, 2023

Choose a reason for hiding this comment

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

Models are rarely included into testing as constructors/getters/setters are naturally involved in other test classes and usually covered automatically without separate test class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants