1. Are you ready for the Galaxy S20? Here is everything we know so far!

Passing Environment Variables into Test via Ant

Discussion in 'Android Development' started by gdboling, Jan 6, 2014.

  1. gdboling

    gdboling Lurker
    Thread Starter

    I'm creating some integration tests for an Android app that grabs some json from webservices. I'd like to be able to pass the server information (url, creds) into the Test via Ant rather than hard coding them.

    I'd also like to avoid modifying the ${sdk.dir}/tools/ant/build.xml file. Can someone point me in the right direction?
     



    1. Download the Forums for Android™ app!


      Download

       
Loading...
Similar Threads - Passing Environment Variables
  1. RATKEN
    Replies:
    1
    Views:
    628
  2. samantasiddhartha65
    Replies:
    1
    Views:
    664
  3. sariDon2
    Replies:
    0
    Views:
    681
  4. Rob
    Replies:
    0
    Views:
    542
  5. App Update
    Replies:
    0
    Views:
    276
  6. Guitarist
    Replies:
    1
    Views:
    918
  7. Lsepolis123
    Replies:
    0
    Views:
    398
  8. Sound22Card
    Replies:
    9
    Views:
    990
  9. PeakShale
    Replies:
    0
    Views:
    370

Share This Page

Loading...