Skip to content

Commit

Permalink
Change extra plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
MGaetan89 committed Apr 23, 2024
1 parent c03f47b commit 82e5494
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/blog/posts/2021-10-06-sharedTest.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ There are some Google's projects have used sharedTest pattern to sharing test co
[accompanist: [All] Share tests to run on Robolectric & Emulators by chrisbanes][10]

[1]: https://medium.com/androiddevelopers/write-once-run-everywhere-tests-on-android-88adb2ba20c5 "Write Once, Run Everywhere Tests on Android"
[2]: {{ site_url }}blog/2018/10/25/robolectric-4-0/ "Robolectric 4.0 release"
[2]: {{ config.site_url }}blog/2018/10/25/robolectric-4-0/ "Robolectric 4.0 release"
[3]: https://developer.android.com/training/testing/junit-runner "AndroidJUnit4 test runner"
[4]: https://developer.android.com/training/testing/espresso/ "Espresso"
[5]: https://developer.android.com/reference/androidx/test/core/app/ActivityScenario "ActivityScenario"
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Robolectric uses javadoc to document API's behavior. There are special rules for
* All visible non-`@Implementation` methods SHOULD have descriptive Javadoc.
* Don't write javadoc comments like "Shadow for (whatever).". The javadoc will appear in a section clearly related to testing, so make it make sense in context.

Robolectric will release javadoc at {{ site_url }} after every main version released. For example, Robolectric's {{ robolectric.version.current }} javadoc is released at {{ site_url }}javadoc/{{ robolectric.version.current }}/.
Robolectric will release javadoc at {{ config.site_url }} after every main version released. For example, Robolectric's {{ robolectric.version.current }} javadoc is released at {{ config.site_url }}javadoc/{{ robolectric.version.current }}/.

### Deprecations and Backwards Compatibility

Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ hide:
---

<div align="center">
<img src="images/logotype.png" alt="{{ site_name }}" />
<img src="images/logotype.png" alt="{{ config.site_name }}" />

<h1>{{ site_description }}</h1>
<h1>{{ config.site_description }}</h1>
</div>

Running tests on an Android emulator or device is slow! Building, deploying, and launching the app often takes a minute or more. That's no way to do <abbr title="Test-Driven Development">TDD</abbr>. There must be a better way.

[Robolectric]({{ site_url }}) is a framework that brings fast and reliable unit tests to Android. Tests run inside the JVM on your workstation in seconds. With Robolectric you can write tests like this:
[Robolectric]({{ config.site_url }}) is a framework that brings fast and reliable unit tests to Android. Tests run inside the JVM on your workstation in seconds. With Robolectric you can write tests like this:

```java
@RunWith(RobolectricTestRunner.class)
Expand Down
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ plugins:
categories: false
post_excerpt: required
post_excerpt_max_authors: 5
- markdownextradata:
- macros:
on_error_fail: true
on_undefined: strict
- redirects:
redirect_maps:
"activity-lifecycle.md": "androidx_test.md"
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Markdown==3.6
MarkupSafe==2.1.5
mergedeep==1.3.4
mkdocs==1.5.3
mkdocs-markdownextradata-plugin==0.2.5
mkdocs-macros-plugin==1.0.5
mkdocs-material==9.5.17
mkdocs-material-extensions==1.3.1
mkdocs-redirects==1.2.1
Expand All @@ -26,5 +26,6 @@ pyyaml_env_tag==0.1
regex==2023.12.25
requests==2.31.0
six==1.16.0
termcolor==2.4.0
urllib3==2.2.1
watchdog==4.0.0

0 comments on commit 82e5494

Please sign in to comment.