[Automated] TDD with SQL Server using nUnit

Slides:



Advertisements
Similar presentations
PHP SQL. Connection code:- mysql_connect("server", "username", "password"); Connect to the Database Server with the authorised user and password. Eg $connect.
Advertisements

Real World Development using OpenEdge Mobile – some advanced features Brian C. Preece Ypsilon Software Ltd
Copyright © 2013 Varigence, Inc. CSV files import automation Kostya Khomyakov
Using Excel, Excel Service and PerformancePoint
April | Chicago, IL Office as your BI Platform Ashvini Sharma Principal Group Manager Microsoft Office Division | Program Management Seayoung Rhee.
© 2011 PLANET TECHNOLOGIES, INC. Extending User Profiles with Line of Business Data Patrick Curran, MCT FEBRUARY 24, 2013.
1 Extending User Profiles with Line of Business Data Patrick Curran, MCT.
0 SharePoint Search 2013 Rafael de la Cruz SharePoint Developer Seneca Resources twitter.com/delacruz_rafael
ADAPTING YOUR ETL SOLUTION TO USE SSIS 2012 Presentation by Devin Knight
WPH303 announcement demo.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
Distributed Replay Testing With Your Data, Your Way! ca.linkedin.com/in/melodyzacharias.
Scripting Just Enough SSIS to be Dangerous. 6/13/2015 Visit the Sponsor tables to enter their end of day raffles. Turn in your completed Event Evaluation.
Hibernate Online Training. Introduction to Hibernate Hibernate is a high-performance Object-Relational persistence and query service which takes care.
Execution Plans Detail From Zero to Hero İsmail Adar.
A Lap Around Columstore Martin Catherall SQL Saturday #464, Melbourne 20 th February 2016.
[Automated] TDD with SQL Server and nUnit Daniel de Sousa SQL Saturday #468, Sydney 27 th February 2016.
Are You High? Can You Recover? Robert Douglas SQL Saturday #468, Sydney 27 th February 2016.
Distributed Replay Testing With Your Data, Your Way! Melody Zacharias, Consultant.
San Diego 2014 SharePoint Saturday San Diego November 15, 2014 UCSD Extension SharePoint Saturday San Diego November 15, 2014 UCSD Extension.
Steve Simon MVP SQL Server BI
SAG Infotech Private Limited
Analysis Services in times of Continuous Integration
SSIS Templates, Configurations & Variables
R; One Ring to Rule Them All
Deliver business insights with Microsoft Dynamics AX and Power BI
Justin Randall SQLintersection Session: Friday, 10:00am-11:15pm Automating SQL Server Administration Using SQLCMD Justin Randall.
Amazon Web Services RDS with SQL Server
10 Amazing Things About Power BI You Don’t Know
Welcome! Microsoft Dynamics GP User Group (GPUG)
Q2- Study Tables Module. Q2- Study Tables Module.
beas WEB App Installation
Microsoft Data Insights Summit
CygNet Operator Mobile App
Distributed Replay Testing with your data your way!
Policy Based Management: Introduction & implementation
Microsoft /23/2018 1:11 AM BRK3180 Migrate CRM OnPremise organizations to CRM Online cloud using Dynamics Lifecycle Services (LCS) Aditya Varma Ganapathy.
Solving the Hard Problems
FileTables By Sam Nasr, MCAD, MCT, MCTS NIS October 6, 2012
Automated and Repeatable Test Cases for SQL Server Development
Steve Simon MVP SQL Server BI
Design Seamless Upgrades to SQL Server 2016 with Query Store
Automated Assessment Importer
9/11/ :59 PM THR3021 Why Microsoft is updating the new OneDrive sync engine in a different way Hans Brender Cloud Productivity Evangelist Bright.
SQL Server Integration Services
Visual Studio 2010 Database Projects
How to run a successful user group
Summit Nashville /16/ :21 PM
The New Breed: OMS, Flow, and Power BI Integration
CCA Skill Certification
Dimodelo Solutions.
Deploy Windows 10 Mobile for the mobile workforce
What Power BI users need to know about R
Making PowerShell Useful
Remark® Exam-Grading Instructions
Amazon Web Services RDS with SQL Server
12/6/ :19 AM Customer story: How to protect against security breaches and insider threats Edward Panzeter Sr. Systems Engineer Universal Health Services.
SQL Server Performance Tuning Nowadays
Unlock the Power of PivotTables
PowerShell & PowerBi Reducing DBAs Context Switching
Welcome to SQL Saturday Denmark
Indexing For Optimal Performance
What query folding means to self-service BI projects
Multi-client SSAS deployment
Start testing your SSIS packages with ssisUnit
Excel-Based Information Management
Summit Nashville /3/2019 1:48 AM
Summit Nashville /26/2019 4:32 AM
Introduction to ETL with SQL Server Integration Services
XML? What’s this doing in my database? Adam Koehler
Presentation transcript:

[Automated] TDD with SQL Server using nUnit Daniel de Sousa SQL Saturday #464, Melbourne 20th February 2016

Housekeeping Mobile Phones Evaluations Wifi Details please set to “stun” during sessions Evaluations complete online to be in the draw for fantastic prizes Wifi Details SSID: eduroam Login: ext-sqlsat Password: sqlsaturd4y SESSIONS EVENT http://www.sqlsaturday.com/464/ sessions/sessionevaluation.aspx http://www.sqlsaturday.com/464/ eventeval.aspx

Connect with the Community Event staff, volunteers and speakers are here to help and answer questions. Scan the QR code on the speaker badges to connect and network with them. speaker @SQLDropbear I attack SQL challenges by dropping onto them from above.

Who am I? BI Architect/Developer/Consultant/Troubleshooter for consulting company in Health Working with SQL Server since 2001 Working in the Health industry since 2009 Volunteer at SQL Saturday and PASS Summit March 2015

Validation 5 million rows here and 5 million rows there? How do you validate your solutions now? SRC = STG = DEST

Requirements nUnit (http://nunit.org) ORAYLIS BI.Quality (https://biquality.codeplex.com/) MSBuild (Installed together with .NET Framework) MSBuildCommunityTasks (https://github.com/loresoft/msbuildtasks)

nUnit NUnit is a unit-testing framework for all .Net languages. This is where the coding happens. Installation to C:\Program Files\nUnit X.X.X

ORAYLIS BI.Quality “BI.Quality” project is a test framework that is specifically designed to connects both worlds, BI and testing(Nunit). Installs to C:\Program Files (x86)\ORAYLIS(it does not confirm the installation at the end) Structure: Bin Connections Lib Queries Reports

MSBuild Part of .NET Framework Will be used for the automation of tests Path C:\Windows\Microsoft.NET\Framework\<version> needs to be added to the PATH environment variable MSBuildCommunityTasks: is used to make special tasks available, e.g. for NUnit or XSL. These are used during report generation.

ORAYLIS BI.Quality - Bin Contains “BI.Quality.proj” project file which contains the settings and properties for the automation of the process. First step is to make sure the nUnit folder is correct:

ORAYLIS BI.Quality - Connections Contains all the connections that will be used in the project(e.g Sources, Datawarehouse(destinations), Cubes, etc) in XML format. SQL Relational MDX

ORAYLIS BI.Quality - Lib Contains the libraries, config files and test results(when ran manually)

ORAYLIS BI.Quality - Queries This folder contains the tests to be run XML(test) Sql(support) Any additional file(e.g csv, xml, etc) Recommended to group in sub-folders to make it understandable and organised. Can have multiple tests in one folder

ORAYLIS BI.Quality - Query Example Table Connection Name Query compares the number of rows of a Table with a given target compares two tables

ORAYLIS BI.Quality - Create/Read CSV Connection Name Table Query Create CSV Read CSV Number of expected rows Compare tables

Demo

Questions? Please make sure you visit our fantastic sponsors:

How did we do? Please complete an online Evaluation to be included the draw for a fantastic prize! There is a prize for each session timeslot and for the overall event survey – so the more feedback you provide the more chances you have. Post-Event Survey http://www.sqlsaturday.com/464/ eventeval.aspx Session Surveys http://www.sqlsaturday.com/464/ sessions/sessionevaluation.aspx

Thank you Twitter: @dcasousa Linkedin: https://au.linkedin.com/in/daniel-de-sousa-0b419828