---
title: "What’s coming in Test Lint 1.5"
url: "https://osherove.com/blog/2010/10/14/whats-coming-in-test-lint-15.md"
canonical: "https://osherove.com/blog/2010/10/14/whats-coming-in-test-lint-15.html"
published: "2010-10-14T12:02:41"
updated: "2010-10-14T12:02:41"
tags: ["Unit Testing"]
author: "Roy Osherove"
description: "Test Lint is an “as you type” parser that detects common readability, maintainability and trust anti-patterns in your unit tests. the addin for VS is free . there is also a command line version that you can use in your…"
usage: "Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page)."
license: "https://creativecommons.org/licenses/by/4.0/"
---

# What’s coming in Test Lint 1.5

By Roy Osherove October 14, 2010 In [Unit Testing](https://osherove.com/blog/category/unit-testing)

**Historical article** · Originally published October 14, 2010; technical details may be outdated.

[Test Lint](http://site.typemock.com/test-lint/) is an “as you type” parser that detects common readability, maintainability and trust anti-patterns in your unit tests. the addin for VS **is free**. there is also [a command line version](http://site.typemock.com/typemock-test-lint-pro) that you can use in your automated builds.

Here’s a sneak preview of things to come in [Test Lint](http://site.typemock.com/test-lint/) next month ([here are the still unfinished new docs](http://docs.typemock.com/lint/##LintHelp.chm/test_lint_rule_review_referenc.htm)):

- we added 3 categories for rules – **Trust, Readability, and Maintainability**

We’ve added **10 new rules to Test Lint**, that detect more “advanced” yet common problematic scenarios:

**New Trust Related Issues:**

- Avoid hand rolled mocks or stubs that contain custom logic (hard coded values or pure logic)
- We’ll try to detect when you [put production logic in your unit test](http://docs.typemock.com/lint/##LintHelp.chm/avoid_putting_production_logic.htm), and give you a hint about it
- We’ll help make sure you [separate unit from integration tests](http://weblogs.asp.net/rosherove/archive/2008/05/31/unit-testing-vs-integration-testing-the-restaurant-analogy.aspx), by detecting integration tests in a project that doesn’t have the word “integration” at its subject.
- Avoid Random Generation in tests: your test will keep changing on every run.

**new Readability Rules:**

- Avoid confusing mocks and stub variable names
- Don’t create fakes in setup methods

**New Maintainability rules**

- Prefer factory method to create objects under test
- Avoid over specification in test (calling verifyAll on mocks)

**New Isolator Specific Rule**

- Avoid calling “new” inside “whencalled” calls

## More in Unit Testing

[All posts in Unit Testing](https://osherove.com/blog/category/unit-testing)

- Nov 30, 2010

    ### [2 day TDD workshop in London, UK - March 2011](https://osherove.com/blog/2010/11/30/2-day-tdd-workshop-in-london-uk-march-2011.html)

- Oct 18, 2010

    ### [Join me for a live webinar on unit testing with Isolator++ this thursday](https://osherove.com/blog/2010/10/18/join-me-for-a-live-webinar-on-unit-testing-with-isolator-thi.html)

- Oct 14, 2010

    ### [Announcing Isolator++, and closing a TDD circle](https://osherove.com/blog/2010/10/14/announcing-isolator-and-closing-a-tdd-circle.html)

- Sep 29, 2010

    ### [A customer switches to MOQ – and I’m happy](https://osherove.com/blog/2010/9/29/a-customer-switches-to-moq-and-im-happy.html)


---

## About the author

**Roy Osherove**: Senior Solutions Architect at AWS working on AI for production and AI-driven development; author of The Art of Unit Testing and Elastic Leadership, with about 20 years of consulting and training on unit testing, TDD, team leadership and continuous delivery.

### Sites

- [RobotPaper](https://robotpaper.ai/): This blog: AI patterns and anti-patterns, AI and coding agents, and engineering leadership.
- [osherove.com](https://osherove.com): Roy's personal site. Author of The Art of Unit Testing and Elastic Leadership; consulting and training on unit testing, TDD, team leadership and continuous delivery, plus about 20 years of blog posts.
- [The Art of Unit Testing](https://www.artofunittesting.com): The Art of Unit Testing, 3rd Edition (Manning): readable, maintainable, trustworthy unit tests, plus TDD workshops in C#, JavaScript, Java and Kotlin.
- [5whys.com](https://www.5whys.com): Roy's writing on software team leadership: self-organizing teams, surviving chaos, learning mode and the Elastic Leadership model.
- [Pipeline Driven](https://pipelinedriven.org): Continuous delivery and DevOps practices: build patterns, pipeline-friendly testing, DevOps metrics and enterprise DevOps.
- [Elastic Leadership](https://www.elasticleadership.com): Elastic Leadership, Roy's framework for software team leaders (survival, learning and self-organizing modes).

### Social

- X: https://x.com/royosherove
- LinkedIn: https://www.linkedin.com/in/osherove/

### Contact

- Contact form: https://forms.gle/jQSx5KoXvrVA1JCK7

### License

Licensed under CC BY 4.0 — reuse, quote and adapt with attribution (Roy Osherove, link to the original page). License: https://creativecommons.org/licenses/by/4.0/
