Document advanced usage methods
See original GitHub issue@asgerhallas’s comment on a recent StackOverflow answer made me realize that we nowhere document some of the advanced usages of FakeItEasy. We should. Unless we review the methods and decide to remove them.
In paricultar, I’m thinking of
-
Fake.ClearConfiguration
-
Fake.ClearRecordedCalls
-
Fake.GetCalls
-
Fake.GetFakeManager
- not
Fake.InitializeFixture
, since we’d like to remove it in 5.0.0 (the method itself should probably have already been marked obsolete; not a disaster, since the attributes that are required to use it are so marked, but maybe we should spin off an issue now) -
FakeManager.Object
-
FakeManager.FakedObjectType
-
FakeManager.Rules
-
FakeManager.AddInterceptionListener
(this is one method I’d consider removing) -
FakeManager.AddRuleFirst
-
FakeManager.AddRuleLast
-
FakeManager.RemoveRule
There may be more.
There’s no need to document everything in one big change. We could spin off separate issues or just PRs for subsets of the work.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Advanced Usage — Requests 2.31.0 documentation
Advanced Usage ¶. This document covers some of Requests more advanced features. ... A Session object has all the methods of the main...
Read more >Manipulating documents - Learn web development | MDN
In this article we'll look at how to use the DOM in detail, along with some other interesting APIs that can alter your...
Read more >Advanced Evaluation Using Prompt
We recommend you use the PROMPT mnemonic (Provenance, Relevance,. Objectivity, Method, Presentation, Timeliness) outlined in this document.
Read more >Documentation - Advanced Types
This page lists some of the more advanced ways in which you can model types, it works in tandem with the Utility Types...
Read more >Google Docs Advanced Tutorial - YouTube
Google Docs Advanced Tutorial Exercise Files : https://bit.ly/3vLqpIt Who it's for: This course is designed for anyone who needs a free, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This change has been released in FakeItEasy 5.0.0.
Yeah, maybe not. Had there been an overall page for configuring Fakes, I’d link from there. This one felt closest to me, as for sure anything you need the advanced functions for would be considered “custom code”.