---
title: "Discussion on \"GetX and Flutter Widget Testing: How to use Mock GetX controller?\" | Hashnode"
description: "Discussion on \"GetX and Flutter Widget Testing: How to use Mock GetX controller?\". In this article, we will explore how to use mock GetX controllers for widget testing in Flutter using the powerful GetX state management library. By mocking"
url: "https://hashnode.com/posts/getx-and-flutter-widget-testing-how-to-use-mock-getx-controller/6431b0bbd56a750226828ca7"
---

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

Discussion

# [GetX and Flutter Widget Testing: How to use Mock GetX controller?](https://psuedopolymath.hashnode.dev/getx-and-flutter-widget-testing-how-to-use-mock-getx-controller?utm_source=hashnode&utm_medium=feed)

In this article, we will explore how to use mock GetX controllers for widget testing in Flutter using the powerful GetX state management library. By mocking

Apr 8, 2023 · 2 min read · psuedopolymath.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#getx](https://hashnode.com/tag/getx)
-   [#flutter-getx](https://hashnode.com/tag/flutter-getx)
-   [#flutter-testing](https://hashnode.com/tag/flutter-testing)
-   [#widget-test](https://hashnode.com/tag/widget-test)

## Written by

[Chandra Kumar](https://hashnode.com/@chandrakumar)

@chandrakumar

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

Flutter developer exploring the intersection of elegant app development and cutting-edge AI technologies.

## Responses 1

Markdown supported · ⌘↵ to post

[Karthi Sankar g](https://hashnode.com/@Karthidesign)

[Apr 8, 2023](https://hashnode.com/posts/getx-and-flutter-widget-testing-how-to-use-mock-getx-controller/6431b0bbd56a750226828ca7/comment/6431b35294d1164842d99b87)

Awesome work ... Love it.🔥❤️
