Installing Visual Studio
´At first we need to install latest visual studio application to built our application.
´For installing the latest visual studio application we need at least 2gb ram and 250 hard disk.
´Then open the new project under the console application menu and under visual C#
´Start the Visual Studio.
´On the menu bar, choose the File, New, Project. …
´Expand Installed and expand Templates, expand Visual C#, and choose Console Application.
´And then in Name box, specify a name for your project, and then choose the OK button.
´open the new project under the console application menu and under visual C#.
´And create the files with .cs extensions where cs stands for c sharp.
´Once you clicked under the new project one pop menu shows you like project starting and that is the conformation.
Solution explorer
´Once the project is created make sure that the solution explorer is present in the screen or not.
´because The new project appears in Solution Explorer.
´The Program.cs is not opened in the Code Editor, then open the shortcut menu for Program.cs in Solution Explorer, and choose View Code.
´Replace the contents of Program.cs with the following code
´Press f5 button to run the project
´Or click the start project option which is available in the top of the menu.
´If it is not running then check your program has any errors or compiled correctly or not.
´Make sure the program has proper imports are there to start a game file and make sure proper imports like collections generic ,linq,text,tasks and diagnostics.
´And make sure the property that sets windows size and color backgrounds etc.
´Color plays an important role in the maze game because it only shows color of the background as well as the foreground.
´In this slide we explains how to set the property value
´Using that displayer input the values according to the games length and width
´To built the maze game we need to give property value and using output displayer i.e,. console.writeline() .
´Give the proper value accordingly for set the cursor and console etc.
´BDD (behavior driven-development is completely different with TDD (test driven development).
´The main and primary goal of the BDD is solute and solve the problem of communication of between the engineering team and business team.
´ The business team will handle the business functionalities and the engineering team will handle the machines.
Advantages of BDD
´. Simple language: the language used in the bdd is straight forward language and understandable even every member of the team.
´2. Focus: it focuses on a product behavioral other than the focusing on testing and the technical implementations through the individual units.
´3. Efficiency: it is very easy to reverse the scenarios into the automatic or auto mated tests.
´4. Using scenarios: BDD is designed for speeding up the development and also no need to write artifacts for acceptance criteria, requirements, test scripts and test cases.
How to do BDD scenario works with the user stories?
´Use Jira account and do the following
´1. Users story-describe the requirements from the perspective of a user.
´2. Behavior driven-development scenarios-include the scenarios and the behavior to assist with testing.