EN On the other hand, when a developer creates a new component (such as a class) with TDD, or refactors a legacy component to be unit-testable, they must break the dependencies of that component so that it is testable in isolation
EN On the other hand, when a developer creates a new component (such as a class) with TDD, or refactors a legacy component to be unit-testable, they must break the dependencies of that component so that it is testable in isolation
PT Por outro lado, quando um desenvolvedor cria um novo componente (como uma classe) com TDD, ou refatora um componente legado para ser testável em unidade, eles devem quebrar as dependências desse componente para que ele seja testável isoladamente
inglês | português |
---|---|
developer | desenvolvedor |
new | novo |
component | componente |
class | classe |
tdd | tdd |
legacy | legado |
break | quebrar |
dependencies | dependências |
unit | unidade |
or | ou |
the | as |
a | um |
creates | cria |
in | em |
be | ser |
it | ele |
to | outro |
when | quando |
as | como |
must | devem |
EN It is the data scientist’s job to break these business problems down into researchable and testable hypotheses
PT O trabalho do cientista de dados é dividir esses problemas de negócios em hipóteses pesquisáveis e testáveis
inglês | português |
---|---|
data | dados |
problems | problemas |
the | o |
is | é |
business | negócios |
down | de |
and | e |
to | em |
EN Whether you handwrite your code or use frameworks, we recommend using dependency injection to encourage modular and testable designs.
PT Quer você escreva manualmente seu código ou use frameworks, recomendamos o uso de injeção de dependência para incentivar designs modulares e testáveis.
inglês | português |
---|---|
dependency | dependência |
injection | injeção |
encourage | incentivar |
designs | designs |
we recommend | recomendamos |
code | código |
or | ou |
you | você |
use | uso |
to | para |
and | e |
EN Testable code needs better modularity and fewer dependencies
PT O código testável precisa de uma melhor modularidade e menos dependências
inglês | português |
---|---|
code | código |
better | melhor |
fewer | menos |
dependencies | dependências |
and | e |
EN But the unit test written for non-testable code is usually very hard to maintain and understand
PT Mas o teste unitário escrito para código não testável geralmente é muito difícil de manter e entender
inglês | português |
---|---|
test | teste |
usually | geralmente |
hard | difícil |
is | é |
code | código |
the | o |
but | mas |
maintain | manter |
written | escrito |
very | muito |
for | de |
EN The secret of unit test is not about writing test, but writing testable code under test
PT O segredo do teste unitário não é sobre escrever testes, mas escrever código testável sob teste
inglês | português |
---|---|
secret | segredo |
is | é |
code | código |
the | o |
of | do |
test | teste |
writing | escrever |
but | mas |
about | sobre |
not | não |
under | sob |
EN We want testable code and easy test, which is a win-win
PT Queremos um código testável e um teste fácil, que é um ganha-ganha
inglês | português |
---|---|
code | código |
easy | fácil |
test | teste |
is | é |
a | um |
and | e |
we | queremos |
EN We don’t want non-testable code and hard-to-maintain code, which is a lose-lose.
PT Nós não queremos código não testável e código difícil de manter, o que é um perde-perde.
inglês | português |
---|---|
code | código |
hard | difícil |
maintain | manter |
is | é |
a | um |
we | queremos |
to | que |
which | o |
and | e |
EN Microservices all follow these patterns: They are organized around business capabilities, they are loosely-coupled, they are independently deployable, and they are testable
PT Todos os microsserviços seguem esses padrões: eles são organizados em torno dos recursos de negócios, são acoplados de forma flexível, são implantáveis de forma independente e são testáveis
inglês | português |
---|---|
microservices | microsserviços |
follow | seguem |
patterns | padrões |
organized | organizados |
capabilities | recursos |
independently | independente |
business | negócios |
are | são |
and | e |
around | de |
EN It is the data scientist’s job to break these business problems down into researchable and testable hypotheses
PT O trabalho do cientista de dados é dividir esses problemas de negócios em hipóteses pesquisáveis e testáveis
inglês | português |
---|---|
data | dados |
problems | problemas |
the | o |
is | é |
business | negócios |
down | de |
and | e |
to | em |
Mostrando 10 de 10 traduções