Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/valtech/minq
Mockable, LINQable support for Sitecore and Sitecore MVC
https://github.com/valtech/minq
Last synced: about 1 month ago
JSON representation
Mockable, LINQable support for Sitecore and Sitecore MVC
- Host: GitHub
- URL: https://github.com/valtech/minq
- Owner: valtech
- License: mit
- Archived: true
- Created: 2015-04-01T16:12:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-21T16:12:44.000Z (almost 7 years ago)
- Last Synced: 2024-04-14T07:41:09.582Z (8 months ago)
- Language: C#
- Homepage:
- Size: 1.11 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
- Awesome-Sitecore - Minq - Mockable, LINQable support for Sitecore and Sitecore MVC. (Testing)
README
# MINQ for Sitecore and Sitecore MVC #
Mockable, LINQable support for Sitecore and Sitecore MVC
## Mockable ##
The main problems with unit testing Sitecore are:
- Sitecore is tied to a HTTP request
- Sitecore is tied to a database
To solve these problems, Minq provides first class support for unit testing Sitecore without connecting to the CMS repository or requiring a HTTP context. This is done by abstracting away the Sitecore API and providing a mocking framework to supply data for testing purposes.
## LINQable ##
Minq is a great productivity library for Sitecore that provides a LINQ to XML style interface. That can turn dozens of lines of cumbersome API query code into fluent one line LINQ statements.
## POCO objects ##
Minq also provides entity framework style POCO objects for Sitecore and a Sitecore HTML helper that supports page edtiable field rendering via a fluent syntax.
## MVC ##
Provides enhancements to Sitecore MVC such as improved POCO HTML helpers, edit frames, and page editor support. The HTML helpers are unit testable and use the same abstraction approach as the core MINQ library.