Can LLMs Make Software Testing Greener? An Empirical Study on JUnit Test Energy Reengineering
An exploratory study to examine whether current Large Language Models are capable of reengineering unit tests to improve their energy efficiency while maintaining test effectiveness indicates that only a small subset of unit tests shows improved energy efficiency, with negligible impact on test effectiveness.