Skip to content

Commit 4fa819e

Browse files
committed
Badges!
1 parent 308927a commit 4fa819e

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

README.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
TestStack.ConventionTests
22
=========================
33

4+
[![Build Status](https://ci.appveyor.com/api/projects/status/github/TestSTack/TestStack.ConventionTests?branch=master&svg=true)](https://ci.appveyor.com/project/TestStack/TestStack.ConventionTests)
5+
[![NuGet](https://img.shields.io/nuget/dt/TestStack.ConventionTests.svg)](https://www.nuget.org/packages/TestStack.ConventionTests)
6+
[![NuGet](https://img.shields.io/nuget/vpre/TestStack.ConventionTests.svg)](https://www.nuget.org/packages/TestStack.ConventionTests)
7+
48
[![Join the chat at https://gitter.im/TestStack/TestStack.ConventionTests](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/TestStack/TestStack.ConventionTests?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
59

610
### What is ConventionTests?
@@ -15,13 +19,13 @@ TestStack.ConventionTests also will generate a convention report of the conventi
1519
[Test]
1620
public void DomainHasVirtualMethodsConvention()
1721
{
18-
// Define some data
19-
var nHibernateEntities = Types.InAssemblyOf<SampleDomainClass>()
22+
// Define some data
23+
var nHibernateEntities = Types.InAssemblyOf<SampleDomainClass>()
2024
.ConcreteTypes().InNamespace(typeof (SampleDomainClass).Namespace)
2125
.ToTypes("nHibernate Entitites");
2226

2327
// Apply convention to data
24-
Convention.Is(new AllMethodsAreVirtual(), nhibernateEntities);
28+
Convention.Is(new AllMethodsAreVirtual(), nhibernateEntities);
2529
}
2630

2731
For more information [view the TestStack.ConventionTests documentation](http://docs.teststack.net/conventiontests/index.html)
@@ -36,10 +40,10 @@ Here is a list of some of the pacakged conventions
3640
- **ProjectDoesNotReferenceDllsFromBinOrObjDirectories** - Specified project file must not reference assemblies from bin/obj directory
3741
- **MvcControllerNameAndBaseClassConvention** - Enforces MVC controller naming conventions
3842
- Types ending in *Controller must inherit from Controller (or ApiController), and
39-
- Types inheriting from ControllerBase must be named *Controller
43+
- Types inheriting from ControllerBase must be named *Controller
4044
- **MvcControllerNameAndBaseClassConvention** - Enforces WebApi controller naming conventions
4145
- Types ending in *Controller must inherit from ApiController (or Controller), and
42-
- Types inheriting from ApiController must be named *Controller
46+
- Types inheriting from ApiController must be named *Controller
4347

4448
If you would like to define your own conventions see [Defining Conventions](http://docs.teststack.net/ConventionTests/DefiningConventions.html)
4549

0 commit comments

Comments
 (0)