SoCRATES - Scala Radar for Test Smells
Test smells are indications of poorly designed unit tests. Previous studies have demonstrated their negative impact on test understanding and maintenance. Moreover, surveys show that developers are not able to identify test smells, hindering optimal software quality. Automated tools can aid developers to handle these issues and detect test smells in the early stage of software development. However, few tools are publicly available and all of them target JUnit - the most popular testing framework in Java. To overcome these limitations, we propose SoCRATES. This fully automated tool is able to identify six test smells in ScalaTest which is the most prevalent testing framework in Scala. An empirical investigation on 164 Scala projects shows that our tool is able to reach a high precision without sacrificing recall. Moreover, the results show that Scala projects have a lower diffusion than Java projects. We make SoCRATES publicly available as an IntelliJ IDEA plugin, as well as an open-source project in order to facilitate the detection of test smells.
Wed 17 Jul Times are displayed in time zone: Greenwich Mean Time : Belfast change
13:30 - 14:00 Short-paper | Tests as Maintainable Assets Via Auto-generated Spies Scala Konstantin LäuferLoyola University Chicago, John O'SullivanLoyola University Chicago, George K. ThiruvathukalLoyola University Chicago and Argonne National Laboratory | ||
14:00 - 14:30 Short-paper | SoCRATES - Scala Radar for Test Smells Scala Jonas De BleserSofware Languages Lab, Vrije Universiteit Brussel, Dario Di NucciVrije Universiteit Brussel, Coen De RooverVrije Universiteit Brussel | ||
14:30 - 14:50 Talk | Resilience Testing of Akka Systems Scala Jonas De BleserSofware Languages Lab, Vrije Universiteit Brussel | ||
14:50 - 15:10 Talk | TaintSpy: Runtime Vulnerability Analyzing Framework for Scala Scala Mohammadreza AshouriUniversity of Potsdam, Germany |