Home/Documentation/Production Test Suite

419/419 Tests Passing

100% Pass Rate

Comprehensive production test suite covering GUI interactions, API endpoints, security, performance, and cross-browser compatibility — all verified with Playwright and automated API testing.

13 Milestones48 Languages4 Browsers5 Operators
419
Total Tests
48
Languages
4
Browsers
5
Operators

13 Test Milestones

Each milestone covers a distinct functional area of the platform, from authentication to cross-browser compatibility.

1
100%

Authentication & Session

22/22 tests

Login, session persistence, profile, health checks, auth guards, logout/re-login

2
100%

PII Detection (Analyzer)

62/62 tests

48-language analysis via GUI, entity filters, score thresholds, edge cases, keyboard shortcuts

3
100%

Anonymizer (5 Operators)

40/40 tests

Replace, Redact, Hash, Mask, Encrypt operators via API and GUI, quick actions, multi-language

4
100%

Decrypt (Roundtrip)

22/22 tests

Encrypt-then-decrypt roundtrips for AES-256/128/192, multi-language, key validation, large text

5
100%

Batch & File Upload

20/20 tests

Batch text processing, file upload UI, tab switching, processing status

6
100%

Entity Management

28/28 tests

Entity CRUD across 3 tabs, AI Creator, validation rules, cleanup verification

7
100%

Preset Management

28/28 tests

Preset CRUD across 3 tabs, apply flow, validation rules, cleanup verification

8
100%

Settings (10 Tabs)

42/42 tests

All 10 settings tabs: Account, Billing, Tokens, Security, History, Language, Encryption Keys, Services, Developer

9
100%

API Security

35/35 tests

Core endpoints, security headers, CORS policy, input validation, auth security, rate limiting

10
100%

Token Usage Monitoring

24/24 tests

Token consumption by text size, operator, language, entity filter, decrypt, batch, CSV export

11
100%

Lighthouse & Quality

20/20 tests

Lighthouse scores on 8 pages, viewport responsiveness, accessibility, SEO, console errors, broken links

12
100%

48 Languages + RTL

56/56 tests

Analysis for all 48 languages, 4 RTL layout checks, language switching, selector validation

13
100%

Cross-Browser

20/20 tests

5 pages across Chromium, Firefox, WebKit, and Mobile Chrome — zero console errors

48-Language Coverage

Every supported language is tested with real PII samples. Three NLP engine types ensure optimal accuracy per language.

spaCy25Stanza7Transformer16
LanguageCodeEngineEntitiesResponse TimeStatus
Englishenspacy113270 ms
Germandespacy148313 ms
Spanishesspacy1041,841 ms
Frenchfrspacy1332,327 ms
Italianitspacy971,787 ms
Portugueseptspacy611,764 ms
Dutchnlspacy1222,486 ms
Polishplspacy701,726 ms
Russianruspacy412,226 ms
Japanesejaspacy231,436 ms
Chinesezhspacy242,554 ms
Koreankospacy161,305 ms
Arabicartransformer20554 ms
Hindihitransformer22486 ms
Turkishtrspacy112504 ms
Romanianrospacy1221,730 ms
Greekelspacy291,822 ms
Croatianhrspacy67989 ms
Slovenianslspacy641,264 ms
Macedonianmkspacy241,259 ms
Swedishsvspacy1401,002 ms
Danishdaspacy1071,910 ms
Norwegiannbspacy1091,606 ms
Finnishfispacy1181,229 ms
Icelandicistransformer73559 ms
Ukrainianukspacy251,434 ms
Lithuanianltspacy861,601 ms
Bulgarianbgstanza248,735 ms
Serbiansrtransformer24519 ms
Hungarianhustanza828,141 ms
Czechcstransformer81562 ms
Slovaksktransformer70577 ms
Latvianlvtransformer83526 ms
Estonianettransformer79531 ms
Hebrewhestanza178,850 ms
Persianfatransformer12439 ms
Vietnamesevistanza7411,282 ms
Indonesianidtransformer79524 ms
Thaithtransformer20521 ms
Malaymstransformer87510 ms
Filipinotltransformer75501 ms
Bengalibntransformer18455 ms
Urduurtransformer12445 ms
Afrikaansafstanza1197,867 ms
Swahiliswtransformer68526 ms
Armenianhystanza6919,643 ms
Catalancaspacy1003,267 ms
Basqueeustanza82783 ms

Cross-Browser Compatibility

5 critical pages tested across 4 browser engines with zero console errors and no horizontal overflow.

Chromium

5 of 5 pages

All Passing

Firefox

5 of 5 pages

All Passing

WebKit

5 of 5 pages

All Passing

Mobile Chrome

5 of 5 pages

All Passing

Security Testing

35 Tests

35 dedicated security tests covering API endpoints, headers, CORS, input validation, authentication, and rate limiting.

Core Endpoints

8 tests

8 tests verifying API endpoint accessibility and response codes

Security Headers

6 tests

6 tests for CSP, X-Frame-Options, HSTS, and more

CORS Policy

5 tests

5 tests for cross-origin request handling

Input Validation

6 tests

6 tests for XSS, SQL injection, and malformed input

Auth Security

5 tests

5 tests for authentication bypass and session security

Rate Limiting

5 tests

5 tests for API rate limit enforcement and Retry-After headers

Token Usage Analysis

Total Tokens Used: 768

22 token consumption tests measuring cost efficiency across operations, text sizes, languages, and operators.

OperationCharsLanguageEntitiesOperatorTokensResponse Time
analyze50en44N/A4220 ms
analyze200en140N/A9276 ms
analyze500en387N/A21367 ms
analyze1,000en745N/A39542 ms
analyze5,000en3776N/A1934,398 ms
analyze10,000en7566N/A38514,494 ms
anonymize160en113replace7291 ms
anonymize160en113redact7236 ms
anonymize160en113hash7243 ms
anonymize160en113mask7276 ms
anonymize160en113encrypt7242 ms
analyze165de148N/A9272 ms
analyze151fr133N/A9282 ms
analyze75ja23N/A31,608 ms
analyze125ru41N/A42,588 ms
analyze113ar20N/A3501 ms
analyze63zh24N/A32,591 ms
analyze160en106PERSON only7258 ms
analyze160en108PERSON+EMAIL+PHONE8266 ms
analyze160en113All entities8264 ms
decrypt342en37decrypt2188 ms
batch-analyze476en,de,fr394N/A265,278 ms

Testing Methodology

Our test suite combines GUI-level Playwright testing with direct API validation for comprehensive coverage.

GUI Testing

Playwright browser automation tests real user workflows — clicking buttons, filling forms, navigating between pages, and verifying visual output.

API Testing

Direct HTTP requests validate every endpoint with edge cases, malformed input, and boundary conditions that GUI testing alone cannot cover.

Session Caching

Authenticated sessions are cached and reused across milestones, reducing test runtime while maintaining realistic user behavior.

CRUD Cleanup

Every entity, preset, and encryption key created during testing is cleaned up afterward, ensuring tests are idempotent and repeatable.

See It In Action

Try anonym.legal yourself — 48 languages, 285+ entity types, 5 anonymization operators, all verified by our test suite.