TestLens
Paste code + tests, get a strong/weak verdict with killed/survived mutants. Free API + MCP.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"testlens": {
"url": "https://testlens.bigfloppy.net/mcp"
}
}
}Remote-Endpunkte
https://testlens.bigfloppy.net/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (2)
🟡testlens_mutate(code, tests)
Mutation-test Python code: submit the module code and unittest test cases; TestLens generates small mutants (flipped comparisons, swapped operators, inverted booleans), runs the tests against each and reports the mutation score plus every SURVIVOR - behaviour the tests do not check. Free, no key.
Eingabe-Schema
{
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "Python module (saved as solution.py)"
},
"tests": {
"type": "string",
"description": "unittest test cases importing solution"
}
},
"required": [
"code",
"tests"
]
}🟢testlens_health
Check the TestLens API is up. Takes no arguments.
Eingabe-Schema
{
"type": "object",
"properties": {}
}Community
Nachweis