-
Notifications
You must be signed in to change notification settings - Fork 0
Buildpiper_Lab_05: Test our Application
Wouldn't be that great to lint and test our code first before building our Apk.
Prerequisites
- Successful completion of Lab 4
Let's Begin
In this section of the lab, we'll add the test step for our application.
Step 1:- Click on your teamname application then go to Job Templates
and click on Edit
button.
Step 2:- Add the flutter step
in your job template.
Linting is the process of analyzing and checking source code for potential errors, bugs, or stylistic issues.
- Select the
analyze
from the drop down and thenSave
it.
Step 3:- Add another flutter step
in your job template.
Unit testing is a software testing technique that involves testing individual units or components of a software application in isolation.
- Select the
test -v
from the drop down and thenSave
it.
Note:- Make sure that we are following the below sequence for rearranging the step. After Gitleaks we should have:
-
pub get
-
analyze
-
test -v
For arranging it, click on View Step
.
See the instruction for differentiating every flutter step.
Step 4:- Now trigger the build.
Hurrayy!!! Successfully Test Job Triggered.....