我目前正在为我的第三年学位项目作总结。 我建立了一个使用C#的系统,将Microsoft Access用作后端数据库。 该系统不连接互联网,也不使用当地网络进行任何连接。
我要求采用最佳方法测试这种申请,以便进行充分的测试。
我目前正在为我的第三年学位项目作总结。 我建立了一个使用C#的系统,将Microsoft Access用作后端数据库。 该系统不连接互联网,也不使用当地网络进行任何连接。
我要求采用最佳方法测试这种申请,以便进行充分的测试。
我不知道你重新研究什么,以及你的申请如何松散,但就我而言,大多数法典(约90%)都是书写的,以便可以在单位测试中测试,而无需操作。 多国机器设备模式是这方面的一个良好开端,因为它迫使你将国际机器的编码从你的国际机器上移到可进行单位测试的“观点”和“指挥”等单独的班级。
这保证了已经有许多工作,如果你需要进行自动调查,则看看看《2010年视觉演播室》中可提供的标准化的“停止”试验(仅是最终的)。 它们使您能够完全实现用户互动的自动化/模拟。 在模拟中,你可以做Justin提议的内容:从数据库中删除你的申请,并与一个存放处合作。
You have to keep in mind that in order to write really testable code, you have to design your code testable. In my experience it is next to impossible to write Unit Tests for code written without testing intent right from the start. The probably best thing you can do in that case is write integration tests.
But in order to give more clear advice, we need more input. Cheers
What is the use of default keyword in C#? Is it introduced in C# 3.0 ?
I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...
I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...
I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...
I have two EF entities. One has a property called HouseNumber. The other has two properties, one called StartHouseNumber and one called EndHouseNumber. I want to create a many to many association ...
How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...
Since I cannot order my dictionary, what is the best way of going about taking key value pairs and also maintaing an index?
Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...