(#) androidx.fragment:fragment-testing
Name
: Fragment Testing Extensions
Description
: Extensions for testing 'fragment' artifact
License
: [The Apache Software License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0.txt)
Vendor
: Android Open Source Project
Identifier
: androidx.fragment.testing
Feedback
: https://issuetracker.google.com/issues/new?component=460964
Min
: Lint 7.0
Compiled
: Lint 8.0 and 8.1
Artifact
: androidx.fragment:fragment-testing:1.8.5
(##) Included Issues
|Issue Id |Issue Description |
|------------------------------------------------------------------|--------------------------------------------------------------------------------|
|[FragmentGradleConfiguration](FragmentGradleConfiguration.md.html)|Include the fragment-testing library using the debugImplementation configuration|
(##) Including
!!!
This is not a built-in check. To include it, add the below dependency
to your project.
```
// build.gradle.kts
implementation("androidx.fragment:fragment-testing:1.8.5")
// build.gradle
implementation 'androidx.fragment:fragment-testing:1.8.5'
// build.gradle.kts with version catalogs:
implementation(libs.fragment.testing)
# libs.versions.toml
[versions]
fragment-testing = "1.8.5"
[libraries]
# For clarity and text wrapping purposes the following declaration is
# shown split up across lines, but in TOML it needs to be on a single
# line (see https://github.com/toml-lang/toml/issues/516) so adjust
# when pasting into libs.versions.toml:
fragment-testing = {
module = "androidx.fragment:fragment-testing",
version.ref = "fragment-testing"
}
```
1.8.5 is the version this documentation was generated from;
there may be newer versions available.
(##) Changes
* 1.2.2: First version includes FragmentGradleConfiguration.
(##) Version Compatibility
There are multiple older versions available of this library:
| Version | Date | Issues | Compatible | Compiled | Requires |
|-------------------:|----------|-------:|------------|--------------:|---------:|
| 1.8.5|2024/10/30| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.4|2024/10/02| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.3|2024/09/04| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.2|2024/07/24| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.1|2024/06/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.8.0|2024/06/12| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.1|2024/05/14| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.7.0|2024/05/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.2|2023/11/01| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.1|2023/07/26| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.6.0|2023/06/07| 1| Yes| 8.0 and 8.1|8.0 and 8.1|
| 1.5.7|2023/04/19| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.6|2023/03/22| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.5|2022/12/07| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.4|2022/10/24| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.3|2022/09/21| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.2|2022/08/10| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.1|2022/07/27| 1| Yes| 7.3 and 7.4| 7.0|
| 1.5.0|2022/06/29| 1| Yes| 7.3 and 7.4| 7.0|
| 1.4.1|2022/01/26| 1| Yes| 7.1| 4.1|
| 1.4.0|2021/11/17| 1| Yes| 7.1| 4.1|
| 1.3.6|2021/07/21| 1| Yes| 4.1| 3.3|
| 1.3.5|2021/06/16| 1| Yes| 4.1| 3.3|
| 1.3.4|2021/05/18| 1| Yes| 4.1| 3.3|
| 1.3.3|2021/04/21| 1| Yes| 4.1| 3.3|
| 1.3.2|2021/03/24| 1| Yes| 4.1| 3.3|
| 1.3.1|2021/03/10| 1| Yes| 4.1| 3.3|
| 1.3.0|2021/02/10| 1| Yes| 4.1| 3.3|
| 1.2.5|2020/06/10| 1| Yes| 3.6| 3.3|
| 1.2.4|2020/04/01| 1| Yes| 3.6| 3.3|
| 1.2.3|2020/03/18| 1| Yes| 3.6| 3.3|
| 1.2.2|2020/02/19| 1| Yes| 3.6| 3.3|