5. Globalcode – Open4education
Mars Climate Orbiter
"People sometimes make errors," said
Dr. Edward Weiler, NASA's Associate
Administrator for Space Science. "The
problem here was not the error, it was
the failure of NASA's systems
engineering, and the checks and
balances in our processes to detect the
error. That's why we lost the
spacecraft."
http://mars.nasa.gov/msp98/news/mco990930.html
https://upload.wikimedia.org/wikipedia/commons/8/83/Mars_Climate_Orbiter_-_mishap_diagram.png
6. Globalcode – Open4education
Toyota
“The standard gcc compiler version 4″ generated a redacted number of warnings (probably larger than 100) about the code, in 11
different warning categories. (p. 25)
“Coverity version 4.2″ generated a redacted number of warnings (probably larger than 154) about the code, in 10 different warning
categories. (p. 27)
“Codesonar version 3.6p1″ generated a redacted number of warnings (probably larger than 136) about the code, in 10 different
warning categories.
“Uno version 2.12″ generated a redacted number of warnings (probably larger than 72) about the code, in 9 different warning
categories.
The code contained at least 347 deviations from a subset of 14 of the MISRA-C rules.
Fonte: http://embeddedgurus.com/barr-code/2011/03/unintended-acceleration-and-other-embedded-software-bugs/
13. Globalcode – Open4education
Ferramentas
The robotframework – Acceptance Testing
Atualizar estatiscas de execucao
Plugmini esta ligado a USB
Requisitamos arquivo de dados de execucao
Plugmini envia arquivo
Dados devem seguir formato
And Tamanho deve corresponder ao exercicio
14. Globalcode – Open4education
Fluxo de trabalho
Estabelecer as coisas da perspectiva do cliente
Estabelecer uma maneira de validar o sistema. Comportamento Aceitável.
Abrace o refatoramento.
Inclua as ferramentas adequadas para cada tipo de desafio
Prazo derrota todos os argumentos, teste as seções críticas primeiro
23. Globalcode – Open4education
void test_set_intensity(void){
TEST_FAIL_MESSAGE("Definida intensidade arbitrária 0-100%");
TEST_FAIL_MESSAGE("Chamada a função set_intensity com o valor");
TEST_FAIL_MESSAGE("Retorno deve ser OK");
}