15,905,915 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by IlanGreen (Top 6 by date)
IlanGreen
16-May-19 3:25am
View
My biggest requirement is the ability to mock without changing my code, I havent seen this parameter in the comparison of Wikipedia, thats why I posted it here
IlanGreen
8-Apr-19 3:38am
View
Nice! such friendly Api, easier to use than reflection with this huge amount of option.
IlanGreen
3-Apr-19 5:39am
View
Thank you very much for the input. by that you mean I must mock all dependencies of these methods in order to test it in an efficient way?
IlanGreen
2-Apr-19 10:03am
View
Thank you for the advice @F-ES Sitecore, I tried this scenario and the coverage of private bool IsValid(int number) is indeed 100% as its beings fully executed.
My problem begins when this private method is accessing other places, for example a DB that cant be reached and i am not able to check this scenarios
IlanGreen
2-Apr-19 9:25am
View
1.80% sequence coverage, excuse me for the typo
2.Well, I was instructed to do it, also how do you reach more than 50% code coverage at all? I mean, it is obvious that all your project cant be public
4.I will try it now, thanks for the article
5.Ill check those toold right now
Thank you very much in general, you calmed me down, i was sure i am in big trouble not
being able to do such easy task
IlanGreen
2-Apr-19 9:12am
View
I do not agree with you @CPallini. Each bug you eliminate or catch in production saves you tons of time after
Show More