38 Commits

Author SHA1 Message Date
Mary Yanchar
acb3eb39da Small change for new sample test code
Making a very small change to mention the example instrumented tests,
since the new code now matches the setup described in this tutorial.

Bug: 28932254
Change-Id: I1bcaa858a1e51609f0ab2863e2738f7aed96c01a
2016-09-19 22:38:15 +00:00
smain@google.com
b433d73843 update Cloud Test Lab guide for Firebase / Studio 2.2.
Originally written by Aaron Carey.
bug: 30400568

Change-Id: I49132b33b388f1aeca0d286fc589940a4a6e3098
2016-09-08 16:55:05 -07:00
smain@google.com
eee3518d11 add workaround for annotations dependency conflict with espresso
Change-Id: Ia5f06e35b034d207f19d061b27ddbecd66012130
2016-08-17 16:23:30 -07:00
smain@google.com
abfa7e2c65 add info about how to return default values from android.jar
bug: 30757670

Change-Id: I84e1624cbe7ae8d5e4e2886d4e8f61d621729464
2016-08-11 16:28:01 +00:00
Elliot Waite
c4ae7827e2 Fix code tags that contain html encoded characters, and fix at links.
Change-Id: I1ab2275ac17d75afaa8f3f0039b26633365bcb3a
2016-07-22 18:29:36 -07:00
Mark Lu
7e082bcbbf docs: fixed '@' signs that were escaped improperly
Bug: 29824906
Change-Id: Ibbf3e57e3f36cb0fa5cba0119ad30ca95850f2e9
2016-07-19 16:43:34 -07:00
Mark Lu
3091d15966 docs: Updated link to UI Automator reference in "Testing UI" doc
Bug: 25905708
Change-Id: I1c583033b5ecf6e9f68e771a3297b45e9c481cd0
2016-06-23 17:48:11 -07:00
Scott Main
9802883bb3 Merge \\"Move conceptual test info into \\"Getting Started with Testing\\" and move the procedural information into the corresponding guides for creating unit tests.\\" into mnc-io-docs am: 8af7a89820
am: 359b8cd443

Change-Id: I91ac419c6c7778b0e357719e1822fe1f6adfe0c3
2016-06-22 18:49:25 +00:00
smain@google.com
97f483b4ca Move conceptual test info into "Getting Started with Testing" and
move the procedural information into the corresponding guides for creating
unit tests.

This is part of a cleanup for the Android Studio test docs, simplifying the
amount of content covered with Android Studio to be strictly how to create
and run tests. Bug: 28470079
Related: https://critique.corp.google.com/#review/125115510

Change-Id: I8b9590045b42a03c618e7011e0c3741aede77cd8
2016-06-22 11:13:54 -07:00
Eric Schmidt
b1a99c46b6 Merge \\"docs: Added links to performance resources section\\" into mnc-io-docs am: e4b1149320
am: 2dea7d3836

Change-Id: I73d48da51be02656ae636686b42253c35ebc3762
2016-06-09 17:56:38 +00:00
Eric Schmidt
a63e0209ee docs: Added links to performance resources section
Bug: 27925680
Change-Id: Ide169d8f1b182cb1ed0021c35f2eee51feac71d7
2016-06-08 15:37:40 -07:00
smain@google.com
e9746f7a6a Update links for all files under sdk/ that moved to studio/ am: 89d11705a1 am: d10e0132a1
am: 6c568e6322

* commit '6c568e632242e99eb255f721edcbec0223f9934d':
  Update links for all files under sdk/ that moved to studio/

Change-Id: I2acd1acd6fef98c527ef4dfc0d016bb5cfa296cc
2016-05-15 03:11:46 +00:00
smain@google.com
89d11705a1 Update links for all files under sdk/ that moved to studio/
Change-Id: I624621dfd7df0f441d0b559e5a12029e5e299964
2016-05-15 02:55:23 +00:00
Cheryl Potter
2932aea3d7 Merge "docs: Document test artifact preference setting b/24810371" into mnc-mr-docs am: a6d7a32 am: dd4cc3b
am: 18ec09c

* commit '18ec09cfc46eae278b1dbc7e18e8f77f9a2e8c2b':
  docs: Document test artifact preference setting b/24810371

Change-Id: I85979f09f9c2525877ff7dbce72f5c8fbd8d423b
2016-04-27 02:24:08 +00:00
Adarsh Fernando
552cb8c2df Merge "Docs: Added image for CTL config" into mnc-mr-docs am: 78bad64 am: df51dd1
am: d20b4cb

* commit 'd20b4cb528d9485cbbfdb6316fc045b89b1d7cfc':
  Docs: Added image for CTL config

Change-Id: I47a7767afcf41e76d14d7a990d8fbe0e9acb0e02
2016-04-27 01:50:21 +00:00
Adarsh Fernando
dd0d888973 Merge "Docs: Added instructions to launch instrumented tests in AS using CTL" into mnc-mr-docs am: 7961413 am: 88d1e91
am: 8776f89

* commit '8776f8940a7a73a5763550ab8e902f4ad6210808':
  Docs: Added instructions to launch instrumented tests in AS using CTL

Change-Id: If1512e3bc20cfdaed5c08317bdf5889857909b00
2016-04-26 21:39:34 +00:00
Trevor Johns
682c24e228 Resolve merge conflicts of a5060ee to nyc-dev
This undoes the automerger skip which occured in
commit e740c84dc32180214a7fd157105d6c18d30408ee and
replays it as a standard (NOT -s ours) merge.

Change-Id: If5a47be26f73d6a0735c425cd66310a3e2a89086
2016-04-19 02:03:59 -07:00
Cheryl Potter
ca1eda1b34 docs: Document test artifact preference setting
b/24810371

Change-Id: Ibbd19c46abd858fc1f2859a93fc1a037d6962ad5
2016-04-08 12:30:58 -07:00
Adarsh Fernando
e14234c41c Docs: Added image for CTL config
Change-Id: I22da497bbdf4f615cc5581ac3d1e726afa747992
2016-04-06 20:32:43 -07:00
Adarsh Fernando
44eb11a88b Docs: Added instructions to launch instrumented tests in AS using CTL
Bug:24812224
Change-Id: Ieee9ea87d7e463c6c57ffa4d1f12c5b48a9cefe7
2016-03-31 13:22:08 -07:00
Quddus Chong
e3f6c81c31 docs: Refactor testing docs to remove/update obsolete guidance:
* Added new 'Getting Started with Testing' training to contain common
      information on how to configure and run tests with Android Studio.
  * Removed the obsolete 'Testing Your Activity' training.
  * Deleted obsolete testing content under 'Tools > Workflow'.
  * Moved accessibility testing checklist to 'Implementing accessibility'
      training section.
  * Moved content provider and service testing topics into a new
     'Testing App Integrations' training.
  * Updated the service testing training to reflect our recommended
approach of using ServiceTestRule, instead of ServiceTestCase.
  * Renamed 'Testing from Other IDEs' topic to
     'Testing from the Command Line' and moved it under 'Testing Tools'.
  * Revised 'Testing Fundamentals' topic and moved it under 'Testing Tools'.
  * Updated the landing page fo 'Best Practises for Testing' to provide a
     central location for testing-related resources.
bug: 20722624

Change-Id: Ic1cbc79b48916dcae1c09bf5114ba8aef13d6f27
2016-01-14 05:02:18 -08:00
Neil Fuller
71fbb81b14 Fix @code escapes
The body of {@code} must not be HTML escaped. This is one of
several changes that fix the source in conjunction with a
doclava fix.

Bug: 25757239
Change-Id: Ib38a0fa2dd2a3d68e467f78a812071e763d7e881
2015-12-02 14:24:11 +00:00
Quddus Chong
ef38d5d605 docs: Updates to UI testing training docs:
* Fixed code snippet in UI Automator training.
   * Updated build.gradle configuration to use latest Testing Support
     Library APIs.
bug: 25195089

Change-Id: I7cf62ef0ff42e58335debdca5fb285fe0a902585
2015-11-10 15:34:23 -08:00
Michal Bendowski
77adda31e2 am f5d0ca1d: am abe8ecf4: Fix dependencies block in "Building Local Unit Tests"
* commit 'f5d0ca1ddfb5d80671211b580f5f0524029910be':
  Fix dependencies block in "Building Local Unit Tests"
2015-09-28 15:50:47 +00:00
Michal Bendowski
f5d0ca1ddf am abe8ecf4: Fix dependencies block in "Building Local Unit Tests"
* commit 'abe8ecf4ac4e036a408cd949138f002f7faabc4f':
  Fix dependencies block in "Building Local Unit Tests"
2015-09-28 15:43:02 +00:00
Michal Bendowski
abe8ecf4ac Fix dependencies block in "Building Local Unit Tests"
Change-Id: I47c10cd7013bfacc8285d21fcae35c2a77621fcc
2015-09-28 11:21:18 +01:00
Quddus Chong
f469238816 am 4f52b48d: Merge "docs: Fixed broken links to unit testing samples. bug: 24237555" into mnc-docs
* commit '4f52b48dc9bcafb727ba2cf2c752c253fa765d90':
  docs: Fixed broken links to unit testing samples. bug: 24237555
2015-09-21 22:05:59 +00:00
Stephan Linzner
cafe83842e am 342c987b: Fixed atsl versions and gradle task
* commit '342c987b97cd7c8082f8c05c6ffa4cc9d27437fb':
  Fixed atsl versions and gradle task
2015-09-21 21:57:01 +00:00
Quddus Chong
4f52b48dc9 Merge "docs: Fixed broken links to unit testing samples. bug: 24237555" into mnc-docs 2015-09-21 21:55:42 +00:00
Quddus Chong
85f854e087 docs: Fixed broken links to unit testing samples.
bug: 24237555

Change-Id: I1bd1b4731bd883c9c1f047ade8615b8676948e8d
2015-09-21 14:35:45 -07:00
Stephan Linzner
342c987b97 Fixed atsl versions and gradle task
Change-Id: Ia0c3b18ac72b660f5bbedc9bb3a27d94f87a87e7
2015-09-21 14:21:13 -07:00
Quddus Chong
80f74761da docs: Migrated performance testing doc from preview microsite to main training section.
bug: 23725773

Change-Id: I24e0beb96afd5fd093b7d7a1316353b738160bb8
2015-09-14 10:21:45 -07:00
Quddus Chong
7af3566912 docs: Added Javadocs for Testing Support Library v0.3 and updated
the corresponding setup instructions.
bug: 21442922

Change-Id: I7374e8102fc95377e83db738ab7ff20510e04faa
2015-06-01 17:18:39 -07:00
Quddus Chong
174dc3ba60 Merge "docs: Added training docs for Android unit testing tools and APIs. This training covers techniques for running unit tests on local machines, using mock objects in local unit tests, and building instrumented unit tests to run on a device or emulator." into lmp-docs 2015-05-11 21:23:43 +00:00
Quddus Chong
4bc762a919 docs: Added training docs for Android unit testing tools and APIs.
This training covers techniques for running unit tests on local
machines, using mock objects in local unit tests, and building
instrumented unit tests to run on a device or emulator.

Change-Id: I9fee9ac3bd7382fb158145600b1850775edb687d
2015-05-11 14:09:25 -07:00
Quddus Chong
900831f303 docs: Added 3rd-party Javadocs for Android Support Testing Library v0.2.
bug: 20304402

Change-Id: I0fab71be55f5c3c6d017ba585b92f8493050274a
2015-04-20 14:01:24 -07:00
Quddus Chong
54dee34997 docs: Fixed broken urls in the UI testing training main page and revised intro to the 'Testing UI for a Single App' class.
Change-Id: I0e2a49b639101a7607e8e90cf830d9d449ad6328
2015-04-03 17:17:04 -07:00
Quddus Chong
7639e730c8 docs: Added training docs for UI testing frameworks (Espresso, UI Automator).
Change-Id: I421a29c90a0763665fd93aa85e86d2c6f33ad894
2015-04-01 15:40:45 -07:00