Tecnologia do Blogger.
RSS

Re: [androidbrasil-dev] Re: Testes automatizados

Um amigo me passou um link me dizendo que o TestComplete agora tem suporte para Android. Segue o link http://www2.smartbear.com/tc-trial-email-mobile.html
Pelo menos para desktop o TestComplete é uma das melhores ferramentas do mercado para teste automatizados.


Em 28 de janeiro de 2014 15:23, Felipe Lima <felipe.lima@gmail.com> escreveu:

— Felipe Lima

From: luciofm luciofm
Reply: androidbrasil-dev@googlegroups.com androidbrasil-dev@googlegroups.com
Date: January 28, 2014 at 3:17:30 PM

To: androidbrasil-dev@googlegroups.com androidbrasil-dev@googlegroups.com
Subject:  Re: [androidbrasil-dev] Re: Testes automatizados

Lúcio Maciel
luciofm@gmail.com


2014-01-28 Pedro Cortez <pedro.fellipe.cortez@gmail.com>
Lucio,
vocÊ mandou os 2 links iguais

att,
Pedro Cortez


2014-01-28 luciofm <luciofm@gmail.com>
Eu uso ele...

Existem duas versões https://github.com/novoda/gradle-android-test-plugin onde os testes rodam no mesmo projeto, e https://github.com/novoda/gradle-android-test-plugin onde os testes são um projeto a parte...

Felipe, para ter auto complete no Android Studio tem um pequeno truque, definir as dependencias de test tanto como testCompile e instrumentTestCompile

    testCompile 'junit:junit:4.10'
    testCompile 'org.robolectric:robolectric:2.3-SNAPSHOT'
    testCompile 'com.squareup:fest-android:1.0.+'
    testCompile "org.mockito:mockito-all:1.9.5"
    testCompile 'com.squareup.retrofit:retrofit-mock:1.3.0'

    instrumentTestCompile 'junit:junit:4.10'
    instrumentTestCompile 'org.robolectric:robolectric:2.3-SNAPSHOT'
    instrumentTestCompile 'com.squareup:fest-android:1.0.+'
    instrumentTestCompile "org.mockito:mockito-all:1.9.5"
    instrumentTestCompile 'com.squareup.retrofit:retrofit-mock:1.3.0'



Lúcio Maciel
luciofm@gmail.com


2014-01-28 Felipe Lima <felipe.lima@gmail.com>
Eu uso, mas me arrependi.
O suporte no Android Studio é mínimo, ou seja, nao tem autocomplete, auto-import, nao da pra rodar os testes pela IDE, etc. É BEM limitado.

— Felipe Lima

From: Pedro Cortez Pedro Cortez
Reply: androidbrasil-dev@googlegroups.com androidbrasil-dev@googlegroups.com
Date: January 28, 2014 at 3:09:37 PM
To: androidbrasil-dev@googlegroups.com androidbrasil-dev@googlegroups.com
Subject:  Re: [androidbrasil-dev] Re: Testes automatizados
Vocês usam esse gradle-android-test-plugin?

att,
Pedro Cortez


2014-01-28 Pedro Cortez <pedro.fellipe.cortez@gmail.com>
Obrigado galera, 
estava fazendo testes de forma nativa e estava ficando frustrado com a demora. Vou testar esse robolectric =]

att,
Pedro Cortez


2014-01-28 luciofm <luciofm@gmail.com>

Eu tenho utilizado o Roboletric para fazer os Unit Tests (ainda em negócio só, mas quero utilizar para Activities e tal tb...), com Mockito, Fest-Android, bla bla bla

Lúcio Maciel
luciofm@gmail.com


2014-01-28 Felipe Lima <felipe.lima@gmail.com>

Olá Pedro,

Utilizo jUnit para testar mais as classes de negócio e domínio, tive mto problema testando Activities então decidi não investir muito tempo nisso.
Além de jUnit, tb uso Robolectric, Mockito, etc.
Para testes funcionais utilizo Calabash.


On Monday, January 27, 2014 2:59:42 PM UTC-2, Pedro Cortez wrote:
Galera, 
vocês usam testes automatizados nos seus projetos?
Se sim, o que vocês testam? Tudo? Só os metodos com regras de negocio? Testam layout, botões?

att,
Pedro Cortez
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


--
You received this message because you are subscribed to a topic in the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/androidbrasil-dev/fvpWk7FK-n8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to a topic in the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/androidbrasil-dev/fvpWk7FK-n8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Android Brasil - Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to androidbrasil-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • RSS

0 comentários:

Postar um comentário