I'm going to present three general solutions for avoiding slow, fragile unit tests by improving the design of the tested code, and I'll show how this enables unit tests to check exceptions.
Ich stelle drei allgemeine Lösungsansätze zum Vermeiden von langsamen, wenig stabilen Komponententests durch Verbessern des Entwurfs des getesteten Codes vor und zeige, wie dadurch das Überprüfen von Ausnahmen durch Komponententests möglich wird.
The tested code from the vendor would need to be 'system tested' (integrating with the interfacing applications in a pre-production environment).
Der getestete Code des Anbieters müsste einem Systemtest (zusammen mit den angekoppelten Anwendungen in einer Pre-Produktionsumgebung) unterzogen werden.
When the tested code contains PHP syntax errors the TextUI test runner might exit without printing error information.
Wenn der getestete Code PHP-Syntaxfehler enthält kann es vorkommen, dass der textbasierte Testrunner die Ausführung abbricht, ohne das eine Fehlermeldung ausgegeben wird.
In most cases, the customer gets no value when tested code is delivered.
In den meisten Fällen hat es für den Kunden keinen Wert, wenn er nur getesteten Code geliefert bekommt.
to test whether an exception is thrown inside the tested code.
ableiten um zu testen, ob eine erwartete Ausnahme vom getesteten Code ausgelöst wird.
I regret this, but would like to avoid to deliver poorly conceived or poorly tested code.
Ich bedaure das, möchte aber vermeiden, unausgereiften oder unzulänglich getesteten Code auszuliefern.
This candidate is made available for testing - if you require more tested code then please download the current release instead.
Dieser Kandidat wird für das Testen zur Verfügung gestellt - falls Sie einen besser getesteten Code brauchen, so laden Sie statt diesem die aktuelle Veröffentlichung herunter.
But as a result we had completely automatically tested code for our internal tools and even more importantly, a motivated young developer who now thinks about studying computer science.
Doch als Ergebnis hatten wir komplett automatisiert getesteten Code für unsere internen Tools und noch wichtiger, einen motivierten Nachwuchs Engineer, der nun über ein entsprechendes Studium der Informatik nachdenkt.
Agile adapts to frequent feedback by delivering working, tested code every 1-4 week iteration
Agile reagiert auf häufiges Feedback und liefert in jeder 1-4 Wochen-Iteration funktionsfähigen, getesteten Code
For the execution of the tested code in a "non-testing" context, I have to implement an ITimer adapter for an existing timer.
Für die Ausführung des getesteten Codes in einem nicht testbezogneen Kontext muss ein ITimer-Adapter für einen vorhandenen Timer implementiert werden.
Contenu potentiellement sensible ou inapproprié
Les exemples vous aident à traduire le mot ou l’expression cherchés dans des contextes variés. Ils ne sont ni sélectionnés ni validés par nous et peuvent contenir des mots ou des idées inappropriés. Signalez des exemples à modifier ou à retirer. Les traductions potentiellement sensibles, inappropriées ou familières sont généralement marquées de rouge ou d’orange.