http://www.codeproject.com/Articles/777540/Association-Aggregation-Composition-Dependency-and
http://mohammadnazmul.blogspot.com/ https://nextleap.app/online-compiler/sql-programming
Monday, May 26, 2014
Sunday, May 18, 2014
MVC Unit Testing
http://www.codeproject.com/Articles/763928/MVC-Unit-Testing-Unleashed
Basic example of Unit Testing
Step 1. Create a class library which need to be tested with following code block.
public class CustomMaths { public int Add(int num1,int num2) { return Number1 + Number2; } }
Step 2. Create Unit Testing Project as Follows
Step 3. Add reference of previous class library to this newly created project
Step 4. Create Test class as follows
[TestClass] public class TestMathsClass { [TestMethod] public void TestAdd() { //Arrange CustomMaths maths = new CustomMaths(6, 5); //Act int result = maths.Add(); //Assert Assert.AreEqual<int>(11, result); } }
Subscribe to:
Comments (Atom)
128 Civics Questions
128 Civics Questions – Group Names (First English, then Bangla) Group 1: Principles of American Democracy বাংলা : মার্কিন গণতন্ত্রের...
-
ng Angular Observables and Promises are two different ways to handle asynchronous operations, and they have distinct characteristics th...
-
namespace WindowsFormsApp { public interface IEmployeeSal { float GetSalary(int basic,float dividend,float commission); ...
-
https://rubolchow.blogspot.com/2023/02/blog-post.html https://nodejs.org/en/download/ Publish : ng build is the command you use when you...