惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
Microsoft Security Blog
Microsoft Security Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Vercel News
Vercel News
Y
Y Combinator Blog
D
DataBreaches.Net
IT之家
IT之家
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
H
Hackread – Cybersecurity News, Data Breaches, AI and More
WordPress大学
WordPress大学
H
Help Net Security
GbyAI
GbyAI
C
Check Point Blog
L
LangChain Blog
小众软件
小众软件
T
The Blog of Author Tim Ferriss
MyScale Blog
MyScale Blog
G
Google Developers Blog
月光博客
月光博客
V
V2EX
M
MIT News - Artificial intelligence
博客园 - 叶小钗

博客园 - Gordon Golden Shining

who am I inside of me STGenerator Released ObjectDataSource的Add-In Asp.net page lifecycle explain in msdn 我做的代码生成的工具的思路 (支持.NET2.0) Programming Haskell in Visual Studio.net 2003 C#/VB.Net converter A good book to read a break in .net 2.0 remoting WinXP sp2 and win 2003 does break com+/System.Transaction 2.0 You have to read this All about codes generation New tools box for year 2005 Recommend: IOC container must read article dynamic proxy how to How to implement AOP in .net My Wishlist for .net development some common used tips in web development No refresh dropdownlist using xmlhttp callback
A possible way for testing threading/server application
Gordon Golden Shining · 2006-02-23 · via 博客园 - Gordon Golden Shining

We have our current quite large application which is  a server and so many parts as their own semaphore threading.
The thing is it then become so hard to test it now...the whole server needs to be started to have a full scheduling/queueing/running function,
mock object maybe works for really very small unit test...but for a much more complete end to end test, it is quite impossible now...

So I have this idea, because we are currently writing the server information to log to track the activities in log4net...
log4net is very fast and easy to use, but I am still struggling to find any good log viewer and filtering it...

Then logparser comes to rescue...it can easily to parse the current log text file and filtering it...

So what if I wirte my own script/C# codes, in each test case, i am refreshing the data snapshot for server to load, then I start the server for running some time, then use logparser(dll version) to filter the log4net logs text and check it....

Is this sounds a good way to do ? or any people have some other ideas about the testing for an server application?