Android Test testPreconditions

Posted by user1184113 on Stack Overflow See other posts from Stack Overflow or by user1184113
Published on 2012-03-25T10:33:47Z Indexed on 2012/03/25 11:29 UTC
Read the original article Hit count: 204

In Android developers I've seen that testPreconditions() method is supposed to be launch before all tests. But in my app test, it's acting like a normal test. It does not run before all tests. Is there something wrong ?

Here is the description about testPreconditions() from android developer : "A preconditions test checks the initial application conditions prior to executing other tests. It's similar to setUp(), but with less overhead, since it only runs once."

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about junit