Skip to content

Conversation

@farooqkz
Copy link
Collaborator

How do we test it without merging? Also, is it possible to provide a better interface for test cases?

Copy link
Member

@Simon-Laux Simon-Laux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the most important are the test cases, it should explain how to get them:
https://deltachat.github.io/message-parser/

Test case should be ideally input, expected output AST and actual output AST.

@farooqkz farooqkz requested a review from Simon-Laux April 8, 2025 07:05
@Simon-Laux Simon-Laux requested a review from nicodh April 8, 2025 07:45
@Simon-Laux
Copy link
Member

Also, is it possible to provide a better interface for test cases?

we could change the demo site, like add a copy button to the field where the AST is displayed.

farooqkz and others added 2 commits April 8, 2025 11:17
Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
@Simon-Laux
Copy link
Member

Anyways I'm not really sure that we need an issue template. I'm glad if people report bugs, they might not if we increase the barrier of entry / time cost of filing bugs.

@Simon-Laux
Copy link
Member

not worth the effort for now, we can consider increasing friction, when we get too many bug reports.

@Simon-Laux Simon-Laux closed this May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants