An Example For Adding Testing codes In AppFlowy Editor #1107
LucasXu0
started this conversation in
Show and tell
Replies: 1 comment
-
https://www.browserstack.com/guide/code-coverage-vs-test-coverage |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, All.
As the below screenshot shows, there are some files that have less than 70% code coverage. We aim to maintain the code coverage of each code file at 70% and suggest giving preference to files with low code coverage to write your first test.
Here are my steps and a pull request example.
frontend/app_flowy/packages/appflowy_editor
in Visual Studio.markdown_syntax_to_styled_text_test.dart
undertest/service/internal_key_event_handlers
.**AppFlowy*
.shift+asterisk
to trigger thedoubleAsterisksToBold
shortcut .**AppFlowy**
to have converted to AppFlowy.run
button in Visual Studio Code and check the result.Reference
Codecov For AppFlowy Editor
Testing
Beta Was this translation helpful? Give feedback.
All reactions