Skip to content

Split tests into two packages and create new mock cores #384

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 26 commits into from
Jun 9, 2021

Conversation

rsommerfeld
Copy link
Member

@rsommerfeld rsommerfeld commented Jun 2, 2021

@rsommerfeld rsommerfeld added this to the Sprint #3 milestone Jun 2, 2021
@rsommerfeld rsommerfeld linked an issue Jun 2, 2021 that may be closed by this pull request
@rsommerfeld rsommerfeld changed the title Split tests into two packages and create new mock cores Draft: Split tests into two packages and create new mock cores Jun 2, 2021
@rsommerfeld rsommerfeld force-pushed the refactor/test_mocking branch from 73f7042 to 493fd78 Compare June 6, 2021 13:11
@rsommerfeld rsommerfeld changed the title Draft: Split tests into two packages and create new mock cores Split tests into two packages and create new mock cores Jun 6, 2021
@rsommerfeld rsommerfeld added the Awaiting Review This pull requests is in need of a review label Jun 6, 2021
@tom-richter tom-richter merged commit bc4b053 into develop Jun 9, 2021
@tom-richter tom-richter deleted the refactor/test_mocking branch June 9, 2021 12:02
jb3rndt pushed a commit that referenced this pull request Jun 10, 2021
* move UI tests into TCTUTest package

* fix linter issue

* add new packages to baseline

* add test packages

* add basic teleclient mock to allow testing core without tdlib

* add CoreResource

* fix auth tests and CoreResource

* remove ensureAwaitingPhoneNumber

* refactor tests

* remove mocks from core package

* structural changes to debug squot

* add tests-misc package

* add misc package at correct position in directory

* add gitignore and fix .squot file

* re-add files from file in

* add tests-misc to baseline

* add resources method on tdlib testcase

* add message tests

* refactor users tests as a NoTdlibTest

* Code formatting, categorizing and fixing the linter

* add UI package to coverage and adapt other pipelines to new naming and packages

* take some tests out of authTests

* rename screenshot file of testMessageShrinksCorrectly

* Adding Tests for TCUModal and TCUTelegram and TCUAuthentication

* fix linter tests

* fix testTelegramOpensAuthentication

Co-authored-by: Tom Richter <[email protected]>
Co-authored-by: Jannis Berndt <[email protected]>

(cherry-picked from commit bc4b053)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Review This pull requests is in need of a review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split tests into FFI Client Mock + Data Mock + API tests
4 participants