---
title: "Discussion on \"Widget testing when your app needs access to directories.\" | Hashnode"
description: "Discussion on \"Widget testing when your app needs access to directories.\". Many times in an application you would have a need to store files, temporarily or even permanently. For this, you are probably going to be using path_provider, however, those methods are not going to simply work when running a widget test.\nThankfully..."
url: "https://hashnode.com/posts/widget-testing-when-your-app-needs-access-to-directories-2c9c7aa73b8a/60dd38bc95305075b9338a25"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Widget testing when your app needs access to directories.](https://remelehane.dev/widget-testing-when-your-app-needs-access-to-directories-2c9c7aa73b8a?utm_source=hashnode&utm_medium=feed)

Many times in an application you would have a need to store files, temporarily or even permanently. For this, you are probably going to be using path\_provider, however, those methods are not going to simply work when running a widget test. Thankfully...

Jul 27, 2020 · 2 min read · remelehane.dev  
Updated Jul 12, 2021  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#testing](https://hashnode.com/tag/testing)
-   [#unit-testing](https://hashnode.com/tag/unit-testing)
-   [#tdd](https://hashnode.com/tag/tdd)

## Written by

[Reme Le Hane](https://hashnode.com/@remelehane)

@remelehane · South Africa

  
[View profile](https://hashnode.com/@remelehane)

Flutter Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
