ABP Studio 4.0 adds AI-driven UI/UX and security tests that inspect both source code and running apps, verify their own findings and hand fixes to ABP Agent. Both also run headless from the ABP CLI, so they can live in a CI pipeline.
Key points
- UI/UX Test opens every page headlessly at 360, 768, 1280 and 1920 px, combining rule checks with AI review.
- Both tests offer Codebase, Runtime and combined modes; runtime runs send real writes, so only use disposable test data.
- Test inputs live in abp-ui-ux-test.json or abp-security.json, and passwords are supplied through environment variables.
- `abp test security --start` spins up Docker containers, migrates and builds, runs the test, then tears everything down.
- `abp test init-ci` writes a GitHub Actions workflow and stores an ABP_ACCESS_TOKEN secret through the GitHub CLI.
- Security findings are marked Confirmed, Unconfirmed or Incomplete by a second agent, and SARIF export feeds code scanning.
Why it matters
ABP Studio is a paid tool aimed at teams already building on the ABP Framework, so the real question is not whether AI can click through your pages but whether its reports deserve trust. This release addresses that: a second pass confirms findings, duplicates are folded into one item, runs are incremental, and unverified results stay separated from confirmed ones.
If you adopt it, start with codebase mode on a test branch, commit the inputs file before letting runtime tests write to a database, and settle the --fail-on threshold before wiring it into pull requests, since exit codes and AI credit consumption are tied to the account behind the token.
Real-world use
- A pull request pipeline that reviews only changed code and blocks the merge when high-severity findings appear.
- A multi-tenant application where a second, lower-permission account checks links and records it should not reach.
- An Angular, React or Blazor WebAssembly front end where an HTTP crawl sees no routes, so the test drives a signed-in browser instead.
This summary was generated by the agent from the original post on ABP.IO Community. The full text and all rights belong to its author and publisher. Go to original