Test Smells Catalog Logo

Test Smell Categories

  • Code related
  • Dependencies
    • Dependencies among tests
      • Chain Gang
      • Constrained Test Order
      • Coupled Tests
      • Coupling Between Test Methods
      • Dependent Test
      • Identity Dodgems
      • Interacting Test Suites
      • Interacting Tests
      • Lack Of Cohesion Of Test Cases
      • Lack Of Cohesion Of Test Methods
      • Litter Bugs
      • Lonely Test
      • Order Dependent Tests
      • Test Pollution
      • Test Run War
      • The Environmental Vandal
      • The Inhuman Centipede
      • The Leaky Cauldron
      • The Parasite
      • The Peeping Tom
      • Unusual Test Order
    • External dependencies
  • Design related
  • Issues in test steps
  • Test execution - behavior
  • Test semantic - logic

Miscellanous

  • Easy Lab
  • How to contribute
  • How to cite this work
Test Smells Catalog
  • Dependencies
  • Dependencies among tests
  • Test Run War
  • View page source

Test Run War

Definition:

  • Test failures occur at random when several people are running tests simultaneously.

Code Example:

Suite.run() --> Test 3 fails
Suite.run() --> Test 3 crashes
Suite.run() --> All tests pass
Suite.run() --> Test 3 fails

References:

Quality attributes

  • - Code Example

  • - Cause and Effect

  • - Frequency

  • - Refactoring

  • A survey on test practitioners’ awareness of test smells

  • An empirical analysis of the distribution of unit test smells and their impact on software maintenance

  • An exploratory study of the relationship between software test smells and fault-proneness

  • Are test smells really harmful? An empirical study

  • Automatic generation of smell-free unit tests

  • Categorising Test Smells

  • Enhancing developers’ awareness on test suites’ quality with test smell summaries

  • How are test smells treated in the wild? A tale of two empirical studies

  • On the interplay between software testing and evolution and its effect on program comprehension

  • Refactoring Test Code

  • Refactoring Test Smells With JUnit 5: Why Should Developers Keep Up-to-Date?

  • Test Smell Detection Tools: A Systematic Mapping Study

  • Understanding practitioners’ strategies to handle test smells: a multi-method study

  • xUnit test patterns: Refactoring test code

Previous Next

© Copyright 2024, EASY.

Built with Sphinx using a theme provided by Read the Docs.