XUNIT TEST PHASES ON CLASSICAL TDD AND MOCKIST TDD – A BRIEF RESUME

1. xUnit Tests Phases “xUnit tests follow a typical four phase sequence: setup, exercise, verify, teardown.” (Martin Flower) According to xUnit tests, there are four phases in a test case. The first phase is the setup phase, where the SUT (System Under Test), that means the object that we want to test, and its objects … Continue lendo XUNIT TEST PHASES ON CLASSICAL TDD AND MOCKIST TDD – A BRIEF RESUME

“Yes!” to use methodologies and “Yes!” to documentations

  Manifesto for Agile Software Development “Individuals and interactions over processes and tools.  Working software over comprehensive documentation.  Customer collaboration over contract negotiation.  Responding to change over following a plan.”  (http://agilemanifesto.org/iso/en/) A common thought is: "Work in a agile way is work without documentation and without  methodology. Don't mind about these things! Just do what … Continue lendo “Yes!” to use methodologies and “Yes!” to documentations

Entendo o conceito do Google Cloud Messaging

Modelos de atualizações via rede Com o avanço do uso de smartphones e com o aumento do número de aplicações que utilizam a Internet para se conectarem a servidores, questões que envolvem a otimização da transfência de dados entre servidor e aplicação surgem. Em uma troca de informações que ocorre entre cliente e servidor, os … Continue lendo Entendo o conceito do Google Cloud Messaging

Trabalhando com a classe Resources

Inserir  o valor “Tássio”, que está no documento string.xml com o id “name”, em uma  TextView é simples, veja abaixo. string.xml myView.xml Agora, como seria inserir em tempo de execução, ou seja,  como fazer isso de dentro de uma activity? De imediato poderíamos pensar em fazer dessa forma. class MyActivity extends Activity { @Override public … Continue lendo Trabalhando com a classe Resources