Skip to content

Michael-Ogundipe/flutter_test_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_test_tutorial

This is a Flutter unit test tutorial written in Dart, using flutter_test package for unit testing a Flutter application.

It tests a GreetingController class which is imported and creates an instance of it. The test file defines a group of test cases, each test case calls a method on the greetingController instance and compares the return value with the expected greeting using the expect() function.

The goal of this test is to check if the greeting() method of GreetingController class returns the expected greeting based on the hour passed to it.

Give the project a star if it was helpful 😊😊

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages