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

Track result of automagic operations #47

Open
mganisin opened this issue Nov 22, 2021 · 1 comment
Open

Track result of automagic operations #47

mganisin opened this issue Nov 22, 2021 · 1 comment
Assignees

Comments

@mganisin
Copy link
Collaborator

mganisin commented Nov 22, 2021

Some actions happen "automagically"

  • skips (capabilities and warn_and_skip)
  • tools selection
  • custom dynaconf_loader

These are dynamic actions, result of dynaconf_loader is known in advance, but skips and tools are dynamically evaluated during execution and shouldn't be requested if not needed. Due to that some section in test result would be handy that section would summarize:

  • what was skipped and why (this can be part of standard output it is a question whether to reuse what's already there or whether to implement something extra)
  • what tools were used, urls, namespace(s) and routes, whatever....

Also all dynaconf_loader automagix operations should be reported, some of those are visible in header, though it is not indicated why and how these values were chosen


services available through tools fixture need some sort of reporting to reveal what instances were used actually.
Now there is no such mechanism and tools can be revealed "by accident" from other logs of some calls/operations.
logging may be insufficient as that is printed just in case of failure.
Maybe custom section in final pytest report can be utilized...

@mganisin mganisin changed the title Track automagic tool selection Track result of automagic operations Nov 23, 2021
@mganisin
Copy link
Collaborator Author

#581

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

No branches or pull requests

2 participants