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

Added draft of the Test strategy. #192

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Hajto
Copy link
Contributor

@Hajto Hajto commented Nov 21, 2023

A couple of months ago we had a discussion (https://elixir-lang.slack.com/archives/C0ETJ9081/p1694083174300609) on Elixir slack. I decided to figure out a good way to solve this issue. The intended use case is settings this as a strategy for all endpoints and setting private fields prior to test execution.

Pros:

  • no HTTP calls to mock
  • being able to test application controller callbacks with populated sane data

@Hajto
Copy link
Contributor Author

Hajto commented Nov 21, 2023

That is how resulting tests look like.
image

@Hajto Hajto marked this pull request as ready for review November 21, 2023 23:11
@Hajto Hajto requested a review from a team as a code owner November 21, 2023 23:11
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.

None yet

1 participant