score:2
BackLINQ (http://www.raboof.com/Projects/BackLINQ/) is a project which implements a number of LINQ operations against .NET 2.0. The project is open source and they have posted the source code for their unit tests (http://backlinq.googlecode.com/svn/trunk/test/BackLINQ.Tests/EnumerableFixture.cs). You may be able to adapt these tests for your needs.
There is also a CodePlex hosted project called 'A custom implementation of the .NET Standard Query Operators from LINQ' (http://linqsqo.codeplex.com/), which includes the source for a similar test suite.
score:0
You may be looking for Jon Skeet's EduLINQ.
Note that he's writinga LINQ to Objects implementation; some of his tests will not be applicable to DB-based implementations.
Source: stackoverflow.com
Related Articles
- Linq Unit Test Suite
- How are people unit testing code that uses Linq to SQL
- Unit test error : This function can only be invoked from LINQ to Entities
- LINQ Source Code Available
- creating Linq to sqlite dbml from DbLinq source code
- Stubbing Code for Test With Linq Expressions and Lambdas
- LINQ to Entities error occurring at run time but not in unit test
- Working LINQ query does not work in unit test
- LINQ `Any` not covered by unit test
- Cannot build the Test project for LINQ IQueryable Toolkit (IQToolkit) - Code 9009
- How to assert a Linq collection with unit test
- How to unit test web service with Linq
- source code for LINQ 101 samples
- c# Linq or code to extract groups from a single list of source data
- Unit test LINQ Enumerables
- Unit Test Linq XML Function
- Convert string[] to int[] in one line of code using LINQ
- Code equivalent to the 'let' keyword in chained LINQ extension method calls
- Linq code to select one item
- Efficient Linq Enumerable's 'Count() == 1' test
- Is there a C# unit test framework that supports arbitrary expressions rather than a limited set of adhoc methods?
- LINQ query to perform a projection, skipping or wrapping exceptions where source throws on IEnumerable.GetNext()
- LINQ to entities - Building where clauses to test collections within a many to many relationship
- Syntax to execute code block inside Linq query?
- Enumerable.Empty<T>().AsQueryable(); This method supports the LINQ to Entities infrastructure and is not intended to be used directly from your code
- Best open source LINQ provider
- Unit test insert/update/delete
- LINQ vs foreach vs for performance test results
- Is there a good source that gives an overview of linq optimizations?
- Does this LINQ code perform multiple lookups on the original data?
- dynamic property name in linq
- How do I reference joined table columns in where clause with linq?
- Find the most frequent numbers in an array using LINQ
- UPDATE SELECT in LINQ to SQL
- LINQ to SQL and Join two tables with OR clause
- WCF Linq2SQL Not Returning "Parent" objects
- Problems with nullable types in a LINQ Function
- How to unpack an expression tree and check for null values
- Add child list inside parent list on matching condition
- Linq Delete over Join
- How do I get the descendants of a named node using Linq-to-XML?
- Parsing Log File into XML using C#
- LINQ to DataSet, distinct by multiple columns
- Select across associative tables
- I need to save the XML file using linq with xml code in C#
- LINQ 'System.String' is not a valid return type for a mapped stored procedure method. SQL Function
- Linq query pivot specific columns to row
- C# LINQ, dynamic grouping by [Key] attributes
- How to Create a Run-Time Computed (NotMapped) Value in Entity Framework Code First
- Find number of companies who are in the different region Linq Query