Skip to content

add testing on pyconkr-api-v2 #22

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

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

darjeeling
Copy link
Contributor

@darjeeling darjeeling commented Feb 15, 2023

목표

  • this PR
    • will add testing with pytest
    • add code coverage comment on PR

작업내용

  • add requirements-dev.txt to specify models for testing, development
  • add initialization files for running pytest with django plugin
  • add sample test for SponsorLevel
  • add code coverage report for PR which is disabled because of pull request token permission
  • coverage report example

유의사항

  • 리뷰어는 PyConKR-2023을 지정 해 주세요.
  • 작업한 내용을 상세하게 작성해주세요.

@darjeeling darjeeling requested a review from a team February 15, 2023 19:40
@darjeeling darjeeling force-pushed the add_testing_spondor_model branch from e4029c3 to aa36a60 Compare February 15, 2023 20:50
@darjeeling darjeeling force-pushed the add_testing_spondor_model branch from aa36a60 to 83d6713 Compare February 15, 2023 20:51
@darjeeling darjeeling requested review from pers0n4, golony6449 and iiogmgo and removed request for pers0n4 February 17, 2023 11:40


@pytest.mark.django_db
class TestSponsorLevelModel:
Copy link
Member

Choose a reason for hiding this comment

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

오오 좋아요 :-)

짬짬이 테스트 추가해보겠습니다

@darjeeling darjeeling merged commit 72c0160 into pythonkr:devdev Feb 17, 2023
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