Skip to content

marabesi/smelly-test

Repository files navigation

Smelly test

Smelly test is an extension that helps developers mitigate test smells in their test suites. Smelly test is focused on the javascript/typescript ecosystem, for the backend and frontend.

Why?

Test smells have been researched and are known for their negative impact on test code understanding and making maintenance difficult. You might be wondering why another extension that focuses on test smells in the era of AI. This is a fair thought and I had the same question while building the extension. However, the javascript/typescript ecosystem lacks such a tool to help mitigate test smells in code bases out there. If we compare the Java ecosystem there are tools developed for that for years in academic settings. If we start to dig into the frontend technologies for mitigating test smells it is even worse. This extension provides an aid for that.

Running smelly

CLI

Smelly is available to run via command line

VsCode marketplace

Installing it from VsCode marketplace

Programmatically

The core of smelly is avaiable for usage as well, it allows tools to us the smell test detection engine.

The research behind Smelly

This extension is one of the results of an ongoing research effort to navigate the intersection between the TDD practice and test smell generation. Here are the publications behind it:

You will find loads of resources available online to go deeper into the subject, however, if you are looking to a curated list here goes:

Related projects

Want to keep up to date with the latest research?

Papers of the Week is a newsletter that publishes weekly papers about software engineering favoring TDD, software testing and DevOps.