RepositoryJava
ST

STAMP-project/dspot

Automatically detect and generate missing assertions for Junit test cases (also known as test amplification)

121stars
29forks
59issues
1views

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: coverage

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: dspot

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: h2020

#1 Repository Của Tháng

🤖 DSpot — Tăng cường test JUnit tự động bằng AI

DSpot sinh assertion và test case mới từ test suite hiện có, tăng coverage và phát hiện thay đổi hành vi.

DSpot là công cụ sinh assertion và test case mới cho JUnit. Nhận đầu vào là dự án Java có test suite, DSpot sinh test mới và ghi ra đĩa. Hỗ trợ dự án Maven và Gradle (--automatic-builder).

✨ Điểm nổi bật

  • Tự động sinh assertion: thêm assertTrue, assertFalse vào test dựa trên hành vi thực tế.
  • Amplifiers: --amplifiers=AllAmplifiers sửa setup test và thay đổi assertion.
  • Test selector: --test-selector=PitMutantScoreSelector giữ test cải thiện coverage.
  • Hỗ trợ Maven & Gradle: tự động phát hiện builder qua --automatic-builder.
  • Xuất test ra thư mục: cấu hình outputDirectory (mặc định ./target/dspot/output/).
  • Báo coverage: in ra % coverage trước/sau amplification.
  • Demo site: https://dspot-demo.stamp-project.eu/ để thử nhanh.
  • Plugin IDE: hỗ trợ Jenkins, Eclipse, IntelliJ.

💡 Vì sao đáng chú ý

DSpot không chỉ thêm assertion, mà còn sửa logic test và lọc kết quả qua selector. Phù hợp tích hợp CI để tự động cải thiện chất lượng test. Nghiên cứu chứng minh hiệu quả với 10 dự án nguồn lớn.


#TestAmplification #JUnit #Java #CodeCoverage #TiniX

Similar Projects

Discover other similar projects and AI models.

RepositoryJava
iluwatar/java-design-patterns

Design patterns implemented in Java

94.8k
Oct 8, 2026
RepositoryJava
TheAlgorithms/Java

All Algorithms implemented in Java

66.4k
Oct 19, 2026
RepositoryJava
testcontainers/testcontainers-java

Testcontainers is a Java library that supports JUnit tests, providing lightweight, throwaway instances of common databases, Selenium web browsers, or anything else that can run in a Docker container.

8.8k
Oct 18, 2026
RepositoryJava
hcoles/pitest

State of the art mutation testing system for the JVM

1.9k
Oct 14, 2026
RepositoryJava
instancio/instancio

A library that creates fully populated objects for your unit tests.

1.2k
Oct 20, 2026
RepositoryJava
STAMP-project/pitest-descartes

Descartes supports developers to improve their test suites by reporting weak spots in covered code

127
Sep 29, 2026
RepositoryGo
avelino/awesome-go

A curated list of awesome Go frameworks, libraries and software

190.5k
Oct 26, 2026
Repository
CyC2018/CS-Notes

:books: 技术面试必备基础知识、Leetcode、计算机操作系统、计算机网络、系统设计

186.3k
Aug 21, 2024
RepositoryJavaScript
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

159.2k
Oct 16, 2026