-
-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test for individual post screen written #2300
test for individual post screen written #2300
Conversation
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if either of these two conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersWhen your PR has been assigned reviewers contact them to get your code reviewed and approved via:
Reviewing Your CodeYour reviewer(s) will have the following roles:
Other🎯 Please be considerate of our volunteers' time. Contacting the person who assigned the reviewers is not advised unless they ask for your input. Do not @ the person who did the assignment otherwise. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2300 +/- ##
===========================================
+ Coverage 94.02% 94.58% +0.55%
===========================================
Files 157 157
Lines 7533 7533
===========================================
+ Hits 7083 7125 +42
+ Misses 450 408 -42 ☔ View full report in Codecov by Sentry. |
You don't need to push your pubspec.lock file for the test. |
I have removed pubspec.llock file |
@AVtheking Its not removed yet. Please have a look and fix the failing test. |
When I removed the pubspec.lock file then it was failing test |
Please review it an suggest changes if any |
…alisadoesFoundation#2290) * Comprehensive Language Translation Enhancement for App Globalization * adding more translations * testing * test * test * test * proper format for translation files * formating * formating * formating * fixing translation * fixing linting errors * writing test for missing lines * writing test for missing lines * writing test for missing lines * fixing translations * fixing translations * fixing translations * fixing translations
…lisadoesFoundation#2302) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35 to 41. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@v35...v41) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@AVtheking please work with the reviewers to get this approved. |
@palisadoes ok sir |
@Ayush0Chaudhary @literalEval please review it and suggest changes if any so that I can |
@AVtheking Revert the changes in pubspec.lock. Its not required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you dont know how to remove change in lock file
copy the lock file from develop file on github and paste it in you IDE and make a new commit
pubspec.lock
Outdated
leak_tracker: | ||
dependency: transitive | ||
description: | ||
name: leak_tracker | ||
sha256: "41b90ceaec6d79819f31e975e61d479516efe701dea35f891b2f986c1b031422" | ||
url: "https://pub.dev" | ||
source: hosted | ||
version: "9.0.17" | ||
leak_tracker_flutter_testing: | ||
dependency: transitive | ||
description: | ||
name: leak_tracker_flutter_testing | ||
sha256: "54808cfcfa87dbc0d74c61ac063d624adf1bd5c0407301f32b06c783c60dc4ca" | ||
url: "https://pub.dev" | ||
source: hosted | ||
version: "2.0.0" | ||
leak_tracker_testing: | ||
dependency: transitive | ||
description: | ||
name: leak_tracker_testing | ||
sha256: "7e71be3c161472f6c9158ac8875dd8de575060d60b5d159ebca3600ea32c9116" | ||
url: "https://pub.dev" | ||
source: hosted | ||
version: "1.0.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have copied the lock file from develop branch
pubspec.lock
Outdated
@@ -1899,4 +1899,4 @@ packages: | |||
version: "3.1.2" | |||
sdks: | |||
dart: ">=3.2.0 <3.13.0" | |||
flutter: ">=3.16.0" | |||
flutter: ">=3.16.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this a change ? Did you add or remove the EOF line ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No I do not remove or add the EOF line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it is because I have taken the lock file from develop branch and pasted in my branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can try merging your branch with develop. Remove the pubspec in a commit, merge with develop, and the do the final push. That should do. Also, it's a nice strategy to keep merging with develop to avoid these conflicts here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have done merging with develop but still this change is showing
…alisadoesFoundation#2290) * Comprehensive Language Translation Enhancement for App Globalization * adding more translations * testing * test * test * test * proper format for translation files * formating * formating * formating * fixing translation * fixing linting errors * writing test for missing lines * writing test for missing lines * writing test for missing lines * fixing translations * fixing translations * fixing translations * fixing translations
just manually add EOL in pubspec file and commit |
I have added EOL still showing change in that file |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please fix conflicting file. Regenerate if necessary |
I have fixed the conflicts please review it |
928f616
into
PalisadoesFoundation:develop
* test for individual post screen written * removed pubspec.lock * fix falling test case" * removed pubspec.lock * Comprehensive Language Translation Enhancement for App Globalization (PalisadoesFoundation#2290) * Comprehensive Language Translation Enhancement for App Globalization * adding more translations * testing * test * test * test * proper format for translation files * formating * formating * formating * fixing translation * fixing linting errors * writing test for missing lines * writing test for missing lines * writing test for missing lines * fixing translations * fixing translations * fixing translations * fixing translations * Bump tj-actions/changed-files from 35 to 41 in /.github/workflows (PalisadoesFoundation#2302) Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 35 to 41. - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) - [Commits](tj-actions/changed-files@v35...v41) --- updated-dependencies: - dependency-name: tj-actions/changed-files dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add: GraphQl Test (PalisadoesFoundation#2298) * Update pull-request.yml * fix failing test case * added pubspec.lock from develop * removed pubspec.lock * lock file * Comprehensive Language Translation Enhancement for App Globalization (PalisadoesFoundation#2290) * Comprehensive Language Translation Enhancement for App Globalization * adding more translations * testing * test * test * test * proper format for translation files * formating * formating * formating * fixing translation * fixing linting errors * writing test for missing lines * writing test for missing lines * writing test for missing lines * fixing translations * fixing translations * fixing translations * fixing translations * fix * fix * fix * fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Parag Gupta <103507835+Dante291@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ayush Raghuwanshi <62144720+AyushRaghuvanshi@users.noreply.github.com> Co-authored-by: Peter Harrison <16875803+palisadoes@users.noreply.github.com>
What kind of change does this PR introduce?
I have written test for individual_post.dart
Issue Number:
Fixes #2148
Did you add tests for your changes?
Yes