Repository navigation
make Espresso test at least build - #2457
Conversation
|
These tests are E2E and his validity is scoped. I mean, you need to perform these steps:
these variables are read from System.env: android/owncloudApp/build.gradle Line 73 in 0b06d85 Once you have the server completely set-up, and a device/simulator plugged (they are instrumented tests), you can trigger them with
These kind of tests are not being very useful and were developed some time ago. We are currently working in a different perspective related with the switch of architecture to Android components, in which we develop isolated tests from each layer, that do not need any further set up, any backend and anything else, so all dependencies are either mocked or faked. So, i recommend not to waste time in these tests, so other better tests are incoming. |
|
@jesmrec is it not possible to pass this values by code? If it tests again the server https://demo.owncloud.com why you have to set-up your own server? |
|
@hosy the parameters there are only an example, because you can use any server (parameters |
So it's a waste of time to add a gradle task which checks in advance and explain if something is wrong Ok, when it's that much unimportant, then merge it ! I see it as a pre-task for #2391 (comment) |
|
LGTM, ready to test @jesmrec |
26f4172 to
14f08c5
Compare
|
it works with the new dependencies. Approved |
|
@hannesa2 please rebase and we are done |
|
@hannesa2 I granted you permissions to branch in the ownCloud repo directly. Then the team could also do the rebase and merge. |
14f08c5 to
3d25a62
Compare
|
done |
|
This is the next PR to merge, there was a Transifex commit after your rebase, we need a new one, thanks |
|
Hey guys, this is no more funny. This is my spare time ! @michaelstingl thanks to give me the right to create branches, so everyone can rebase it 100x times by himself. Or I like to see a much faster/nervous merge-button-pressing ! |
3d25a62 to
6158d41
Compare
|
I think that rebasing should be a matter of the PR owner, mainly in case of conflicts. Rebasing will be the way to update branches against |
|
Exactly this is annoying and there is room for improvement. The technique does not force to do so, just a policy from maintainers |
Now it builds at least, but current situation is complete useless