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

Better/simpler unit testing #63

Open
3 of 5 tasks
YuukanOO opened this issue May 17, 2024 · 0 comments
Open
3 of 5 tasks

Better/simpler unit testing #63

YuukanOO opened this issue May 17, 2024 · 0 comments
Labels
refactoring Code refactoring

Comments

@YuukanOO
Copy link
Owner

YuukanOO commented May 17, 2024

seelf has a solid set of unit tests but they became complicated to manage.

  • rename package testutil to assert
  • consolidate expected and actual arguments order in assert functions
  • add fixture packages per domain to make writing tests easier and less verbose
  • split tests doing multiple act
  • add tests for on_* with a spy.Scheduler
@YuukanOO YuukanOO added the refactoring Code refactoring label May 17, 2024
YuukanOO added a commit that referenced this issue Sep 13, 2024
Big steps towards #63.

Also remove the need to maintain "in memory" repositories and consolidate
assertion functions.
YuukanOO added a commit that referenced this issue Sep 13, 2024
Big steps towards #63.

Also remove the need to maintain "in memory" repositories and consolidate
assertion functions.
YuukanOO added a commit that referenced this issue Sep 13, 2024
Big steps towards #63.

Also remove the need to maintain "in memory" repositories and consolidate
assertion functions.
YuukanOO added a commit that referenced this issue Sep 23, 2024
Big steps towards #63.

Also remove the need to maintain "in memory" repositories and consolidate
assertion functions.
YuukanOO added a commit that referenced this issue Sep 23, 2024
Also includes some tests refactoring to move towards better coverage and simpler unit tests #63.
github-actions bot pushed a commit that referenced this issue Sep 23, 2024
# [2.4.0-next.1](v2.3.2...v2.4.0-next.1) (2024-09-23)

### Features

* manual proxy configuration, closes [#58](#58) ([73551d3](73551d3)), closes [#63](#63)
YuukanOO added a commit that referenced this issue Oct 14, 2024
Closes #58 

Also add test domain fixtures to ease testing (see #63).
YuukanOO added a commit that referenced this issue Oct 14, 2024
Closes #58

Also add test domain fixtures to ease testing (see #63).
github-actions bot pushed a commit that referenced this issue Oct 14, 2024
# [2.4.0](v2.3.2...v2.4.0) (2024-10-14)

### Features

* Manual proxy configuration & some refactors ([#81](#81)) ([60db370](60db370)), closes [#58](#58) [#63](#63)
YuukanOO added a commit that referenced this issue Dec 10, 2024
Also includes some tests refactoring to move towards better coverage and simpler unit tests #63.
github-actions bot pushed a commit that referenced this issue Dec 10, 2024
# [2.5.0-next.1](v2.4.0...v2.5.0-next.1) (2024-12-10)

### Features

* manual proxy configuration, closes [#58](#58) ([c80c10e](c80c10e)), closes [#63](#63)
YuukanOO pushed a commit that referenced this issue Dec 10, 2024
# [2.5.0-next.1](v2.4.0...v2.5.0-next.1) (2024-12-10)

### Features

* manual proxy configuration, closes [#58](#58) ([c80c10e](c80c10e)), closes [#63](#63)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactoring Code refactoring
Projects
None yet
Development

No branches or pull requests

1 participant