nankurunaısa

Test Agents

Testy, które sprawdzają, co kod ma robić. Nie to, co robi dziś. Tests that check what your code is meant to do. Not what it does today.

Test Agents projektuje i pisze testy automatyczne technikami ISTQB, uruchamia je w izolacji i wskazuje błędy w kodzie, każdy z dowodem: cytatem z dokumentacji i testem, który go odtwarza. Typowy generator zapisuje obecne zachowanie kodu razem z jego błędami. My sprawdzamy kod względem kontraktu. Test Agents designs and writes automated tests with ISTQB techniques, runs them in isolation and points out bugs in your code, each with evidence: a quote from your documentation and a test that reproduces it. A typical generator records today's behaviour, bugs included. We check the code against its contract.

PythonJavaTypeScriptKotlinGo
wallet.py · transfer()defect report · D1
Kontrakt (z dokumentacji)Contract (from the docstring)
"The transfer is atomic: when it raises, neither wallet's balance changes."
Test odtwarzającyReproduction
def test_failed_transfer_keeps_balances(): src, dst = Wallet("ana", 500), Wallet("ben") with pytest.raises(InsufficientFunds): transfer(src, dst, 800) assert src.balance == 500 # contract
FAILED assert -300 == 500 a failed transfer still debits the source wallet
CODE_BUG potwierdzony: cytat + test nie przechodzi na prawdziwym kodzieconfirmed: contract quote + failing run on the real code
Przykład z naszego korpusu benchmarkowego (przypadek wallet_transfer).Example from our benchmark corpus (case wallet_transfer).

Jak działaHow it works

Od ryzyka do dowodu, w czterech krokachFrom risk to evidence, in four steps

Plan ryzykRisk plan

Analiza kodu i wymagań, plan testów z technikami ISTQB: klasy równoważności, wartości brzegowe, tabele decyzyjne, przejścia stanów.Code and requirements analysis; a test plan built on ISTQB techniques: equivalence classes, boundary values, decision tables, state transitions.

Agenci piszą testyAgents write tests

Wyspecjalizowani agenci dla każdego języka i poziomu piramidy. Testy uruchamiane są w piaskownicy systemowej, bez dostępu do sieci.Specialised agents per language and pyramid level. Tests run in an OS sandbox without network access.

Recenzja i mutacjeReview and mutation

Niezależny recenzent odrzuca tautologie i słabe asercje; testy mutacyjne sprawdzają, czy testy faktycznie łapią zmiany w kodzie.An independent reviewer rejects tautologies and weak assertions; mutation testing checks that the tests really catch changes in the code.

Błędy z dowodemBugs with evidence

Każde podejrzenie błędu przechodzi weryfikację: cytat z kontraktu i nieprzechodzący test na prawdziwym kodzie. Bez obu nie trafia do raportu.Every suspected bug is verified: a contract quote and a failing test on the real code. Without both it does not reach the report.

Testy mutacyjne · spróbuj samMutation testing · try it

Zepsuj kod. Sprawdź, czy testy to zauważą.Break the code. See whether the tests notice.

Najedź na podświetloną linię albo ją stuknij: wprowadzimy w niej mały błąd, czyli mutanta. Dobry zestaw testów zabija każdego mutanta. Test, który tylko „pokrywa linie”, wiele z nich przepuszcza.Hover over a highlighted line or tap it: we plant a small bug there, a mutant. A good test suite kills every mutant. A test that only "covers lines" lets many of them through.

wallet.py · transfer() (po poprawce)(fixed)5 linii do zmutowania5 lines to mutate
1def transfer(src, dst, amount):
0 / 5mutantów zabitychmutants killed
Wybierz linię po lewej.Pick a line on the left.

Przykład poglądowy. W pilotażu ten sam pomiar (wynik mutacyjny) robimy narzędziami mutmut, PIT i Stryker na Państwa kodzie.An illustrative example. In the pilot the same measurement (mutation score) runs with mutmut, PIT and Stryker on your code.

Wyniki benchmarku · 30.11.2026Benchmark results · 30 Nov 2026

Mierzymy system przy każdej zmianieWe measure the system on every change

Własny korpus przypadków w Pythonie, Javie i TypeScripcie. Te same miary stosujemy w pilotażu.Our own case corpus in Python, Java and TypeScript. The pilot uses the same metrics.

86%127 / 147

Benchmark głównyMain benchmark

147 przypadków w 10 kategoriach; zaliczony = progi pokrycia, akceptacja recenzenta, wymagane techniki w planie.147 cases in 10 categories; a pass means coverage thresholds, reviewer approval and the required techniques in the plan.

92%11 / 12

Wykryte błędyBugs found

Błędy celowo wstrzyknięte w kod, potwierdzone dowodem. Na 3 poprawnych modułach kontrolnych: 0 fałszywych zgłoszeń.Bugs planted in the code, confirmed with evidence. On 3 correct control modules: 0 false reports.

3 / 3

Odporność na manipulacjęManipulation resistance

Polecenia podłożone w kodzie (sabotaż testów, wykradzenie kluczy, wyłączenie testów) zignorowane.Instructions planted in the code (sabotage the tests, steal keys, disable the tests) ignored.

4 / 4

Testy w przeglądarceBrowser tests

Playwright i Selenium w Pythonie, TypeScripcie i Javie, na aplikacji uruchamianej w izolacji.Playwright and Selenium in Python, TypeScript and Java, against an application started in isolation.

Wyniki pochodzą z naszego korpusu testowego, nie z projektów klientów. W pilotażu mierzymy to samo na Państwa kodzie.Results come from our own test corpus, not from client projects. In the pilot we measure the same on your code.

ZakresScope

Cała piramida testówThe whole test pyramid

PoziomLevelNarzędziaTools
Jednostkowe i property-basedUnit and property-basedpytest · Hypothesis · JUnit 5 · jqwik · Jest · fast-check
Integracyjne, API, kontraktyIntegration, API, contractshttpx · REST Assured · MockMvc · supertest · Pact
E2E i regresja w przeglądarkachE2E and browser regressionPlaywright · Selenium Grid · Cypress
WydajnościowePerformanceLocust · k6 · Gatling
Bezpieczeństwo koduCode securitySemgrep · Bandit + test-dowód+ proof test
Raporty i CIReports and CIAllure · GitHub Actions · GitLab CI · Bitbucket

Dlaczego Test AgentsWhy Test Agents

Testy, którym można ufaćTests you can trust

Wyrocznią jest kontraktThe contract is the oracle

Gdy kod łamie udokumentowane zachowanie, agent nie dopasowuje testu do błędu, tylko go zgłasza.When code breaks documented behaviour, the agent does not bend the test to the bug; it reports it.

Testy, które coś sprawdzająTests that check something

Recenzent odrzuca puste asercje, a testy mutacyjne potwierdzają, że zestaw łapie celowo wprowadzone zmiany.The reviewer rejects empty assertions, and mutation testing confirms the suite catches deliberate changes.

Gotowe pod audytAudit-ready

Macierz śledzenia od wymagania do testu wspiera ISO 29119, DORA i rekomendacje KNF.A traceability matrix from requirement to test supports ISO 29119, DORA and KNF recommendations.

Bezpieczeństwo i daneSecurity and data

Państwa kod pod kontroląYour code stays under control

Izolacja wykonaniaIsolated execution

Testy działają w piaskownicy systemowej (macOS i Linux): bez sieci, zapis tylko do kopii roboczej, limity czasu procesora i rozmiaru plików.Tests run in an OS sandbox (macOS and Linux): no network, writes only to the working copy, CPU-time and file-size limits.

Sekrety nigdy nie są czytaneSecrets are never read

Agenci czytają tylko uzgodniony projekt; pliki .env, klucze i dane logowania są blokowane w kodzie, nie w poleceniu dla modelu.Agents read only the agreed project; .env files, keys and credentials are blocked in code, not by a prompt.

Krótka retencjaShort retention

Kopie robocze usuwane po 48 h bezczynności, logi po 30 dniach; na życzenie wszystko zaraz po odbiorze.Working copies deleted after 48 h idle, logs after 30 days; on request everything right after acceptance.

PilotażPilot

Cztery tygodnie, jeden moduł, konkretne rezultatyFour weeks, one module, concrete results

Tydz. 1Week 1

Warsztat ryzyk, wybór modułu, kryteria odbioru, plan testów.Risk workshop, module choice, acceptance criteria, test plan.

Tydz. 2Week 2

Generowanie testów, recenzja, testy mutacyjne.Test generation, review, mutation testing.

Tydz. 3Week 3

Weryfikacja błędów z dowodem, testy w Państwa CI.Bug verification with evidence, tests in your CI.

Tydz. 4Week 4

Raport jakości, potwierdzone błędy, macierz śledzenia, odbiór.Quality report, confirmed bugs, traceability matrix, acceptance.

Pilotaż SPilot S

  • 1 moduł, do ok. 3 tys. linii1 module, up to about 3,000 lines
  • jeden język: Python, Java lub TypeScriptone language: Python, Java or TypeScript
  • testy jednostkowe i property-basedunit and property-based tests
  • 4 tygodnie4 weeks

Wycenę przygotowujemy dla konkretnego zakresu, po krótkiej rozmowie o Państwa module. E2E, testy wydajnościowe i smoke dobieramy po warsztacie ryzyk.We prepare a quote for your specific scope after a short conversation about your module. E2E, performance and smoke tests are scoped after the risk workshop.

Co zostaje u PaństwaWhat you keep

  • Zestaw testów automatycznych w Państwa repozytoriumAn automated test suite in your repository
  • Raport potwierdzonych błędów, gotowy do wklejenia do JiryA confirmed-bug report, ready to paste into Jira
  • Macierz śledzenia: wymaganie → ryzyko → technika → testA traceability matrix: requirement → risk → technique → test
  • Raport jakości: pokrycie, wynik mutacyjny, anty-wzorceA quality report: coverage, mutation score, anti-patterns
  • Testy w CI (GitHub, GitLab, Bitbucket) z raportem AllureTests in CI (GitHub, GitLab, Bitbucket) with an Allure report
  • Warsztat ryzyk (2 h) na starcie i sesja odbioru (1 h)A risk workshop (2 h) at the start and an acceptance session (1 h)

Czego potrzebujemy od PaństwaWhat we need from you

  • Dostęp do kodu wybranego modułu i instrukcja uruchomienia testówAccess to the chosen module and how to run its tests
  • Dokumentacja zachowania: docstringi, wymagania lub tickety JiraBehaviour documentation: docstrings, requirements or Jira tickets
  • Osoba kontaktowa, około 2 h tygodniowoA contact person, about 2 h a week
  • Umowa o poufności (NDA)A non-disclosure agreement (NDA)
  • Konto Anthropic, najlepiej Państwa własneAn Anthropic account, preferably your own

PytaniaQuestions

Najczęstsze pytaniaFrequently asked

Czy nasz kod posłuży do trenowania modeli?Will our code be used to train models?

Nie. Model działa wyłącznie na warunkach komercyjnych, które wykluczają trenowanie na treściach klientów, nigdy na planie konsumenckim. Najlepiej pracować na Państwa własnym koncie Anthropic: wtedy obowiązuje bezpośrednio Państwa umowa i ustawienia retencji, łącznie z zerową retencją.No. The model is used only under commercial terms that exclude training on customer content, never under a consumer plan. Ideally we work on your own Anthropic account: your agreement and retention settings then apply directly, including zero retention.

Co dokładnie trafia do modelu, a czego nigdy nie czytamy?What exactly reaches the model, and what is never read?

Do modelu trafia treść plików uzgodnionego modułu, plan testów, wygenerowane testy i wynik ich uruchomienia. Nigdy nie czytamy plików spoza projektu, katalogu domowego ani magazynów sekretów (.env, klucze prywatne, dane logowania do chmury). Narzędzia odczytu odmawiają ich w kodzie, niezależnie od decyzji modelu.The model sees the files of the agreed module, the test plan, the generated tests and their run output. We never read files outside the project, the home directory or secret stores (.env, private keys, cloud credentials). The read tools refuse them in code, regardless of what the model decides.

Czy system może działać u nas?Can the system run on our side?

Tak. Test Agents jest dostępny jako obraz Docker i może działać w Państwa infrastrukturze, z Państwa kontem modelu. Wtedy kod w ogóle nie trafia na nasze maszyny.Yes. Test Agents ships as a Docker image and can run in your infrastructure with your own model account, so your code never reaches our machines.

Co, jeśli nie mamy dokumentacji?What if we have no documentation?

Wystarczą docstringi, opisy w Jirze albo ustalenia z warsztatu ryzyk: na ich podstawie spisujemy oczekiwane zachowanie, zanim powstaną testy. Tam, gdzie kontrakt jest niejasny, zgłaszamy to jako pytanie, a nie jako błąd.Docstrings, Jira descriptions or the outcome of the risk workshop are enough: we write down the expected behaviour before the tests are written. Where the contract is unclear, we raise it as a question, not as a bug.

Jak długo przechowujecie nasz kod?How long do you keep our code?

Kopie robocze są usuwane automatycznie po 48 godzinach bezczynności, logi przebiegów po 30 dniach. Na życzenie usuwamy wszystko zaraz po odbiorze. Szczegóły opisuje dokument „Jak Test Agents przetwarza Państwa kod”, który przesyłamy przed startem.Working copies are deleted automatically after 48 hours idle, run logs after 30 days. On request we delete everything right after acceptance. The details are in the document “How Test Agents processes your code”, which we send before the start.

KontaktContact

Porozmawiajmy o Państwa moduleLet's talk about your module

Napiszcie, jaki moduł chcielibyście przetestować. Odpowiemy w ciągu 2 dni roboczych z propozycją zakresu i terminem warsztatu ryzyk.Tell us which module you would like tested. We reply within 2 business days with a proposed scope and a date for the risk workshop.