Mock objects and stubs created using the Moq framework are generally used to inject dependencies with expectations that define fixed results. For more complex scenarios, lambda expressions can be used to generate results based on provided arguments.
Other News
‘Fragment’-ed thoughts
(Evan Lenz) If you’ve been working with MarkLogic for any amount of time, you’ve probably come across the term “fragment.” For example, when running a query trace on your code, the result says things like “Selected 5 fragments to filter.” What exactly is a fragment? And why is it called that?
New in StyleVision 2012 – Composite Styles for Enhanced Formatting
(Beth O’Brien) StyleVision is an intuitive stylesheet and report designer that transforms XML, XBRL, and database content into HTML, RTF, PDF, Word 2007+, and Authentic electronic forms – all from a single design. With the 2012 release (available for download here), StyleVision now offers even more
Developing Metro Style App using JavaScript and Visual Studio 2011
(Mahesh Sabnis) In a previous article, we explored Windows Runtime (WinRT) and saw how to develop Metro Style Apps in C#. In this article, we will see how Metro Style Applications can be developed using JavaScript, Visual Studio 2011 Developer Preview and Windows 8 Developer Preview.
Index Full Scan and array of changes in DML
(Alexander Anokhin) There was a topic on sql.ru where the author asked why Oracle uses Index Fast Full Scan instead of an Index Fast Full Scan on simple DML.
Gridding a geometric object (Oracle)
(Simon Greener) A common question that comes up in the various database forums (PostGIS, SQL Server, Oracle) is how to “grid” a linear or polygonal object.
Report Caching in SQL Server Reporting Services 2008 R2
(Arshad Ali) SQL Server Reporting Services (SSRS) is a server based scalable and extensible platform for authoring, deploying, executing and managing reports based on a variety of data sources. SSRS allows us to create interactive, tabular, graphical (using data visualization controls) or free form
Take BI up a notch with SQL Azure Reporting
(Robert Sheldon) As part of a continued effort to expand its cloud-based services, Microsoft recently released the community technology preview of SQL Azure Reporting, a report hosting and rendering service built on the Windows Azure platform.
Finding and resolving IMS database exceptions using the Tools Base Administration Console for z/OS
(Elliot Yamaguchi) The IBM Tools Base Administration Console for z/OS displays exceptions and statistical information in a graphical web interface. Because the Administration Console provides access to database reports, historical trends, and displays exception messages, you can easily manage the ov
Automated Application Testing
Automated Application Testing In a previous life I was the manager of system testing for a custom appliction. We were testing a pretty sophisticated software application. The team had a combination of developers and business analysts. The team ratio was 60% analysts and 40% developers. The analysts generated the tests necessary for the application using a word template providing one […]
