Skip to content

[Tai PT] Do unit test practice - #35

Open
taipt-0504 wants to merge 7 commits into
sun-unit-test-training:masterfrom
taipt-0504:do_unit_test_practice
Open

[Tai PT] Do unit test practice#35
taipt-0504 wants to merge 7 commits into
sun-unit-test-training:masterfrom
taipt-0504:do_unit_test_practice

Conversation

@taipt-0504

@taipt-0504 taipt-0504 commented May 23, 2021

Copy link
Copy Markdown

Purpose/Notes

Screenshot

image

Checklist (*)

  • Pull request has been self-reviewed
  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All CI builds passed successfully (all builds are green)

$this->calculateService = $this->mock(CalculateService::class);
}

public function test_show_index()

@anhnv-0443 anhnv-0443 Jun 21, 2021

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

đặt cái naming nó chuẩn bài tí a nhé
test_index_return_view_success

https://sun-unit-test-training.github.io/php-testing-guideline/06-checklist/#1-self-describing-test-method

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.

2 participants