Skip to content

Add guideline to write tests#185

Merged
alice-i-cecile merged 7 commits intoDioxusLabs:mainfrom
Weibye:update-contributing
Jun 20, 2022
Merged

Add guideline to write tests#185
alice-i-cecile merged 7 commits intoDioxusLabs:mainfrom
Weibye:update-contributing

Conversation

@Weibye
Copy link
Copy Markdown
Collaborator

@Weibye Weibye commented Jun 19, 2022

Objective

As discussed in #179, this adds a short guideline for how to write and organise tests within taffy

Context

Mostly to help people such as myself that are unfamiliar with this, but also just to ensure consistency and consensus through the project.

Also, we need a lot of tests to any way we can make it simpler to contribute on the testing side is a win!

Feedback wanted

I don't want it to be too terse or verbose, so please comment on phrasing ++

@Weibye Weibye marked this pull request as ready for review June 19, 2022 22:11
@Weibye Weibye requested a review from alice-i-cecile June 19, 2022 22:12
@alice-i-cecile alice-i-cecile added meta About the project itself documentation Improvements or additions to documentation labels Jun 19, 2022
Copy link
Copy Markdown
Collaborator

@TimJentzsch TimJentzsch left a comment

Choose a reason for hiding this comment

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

I did a first pass on formatting

Copy link
Copy Markdown
Collaborator

@alice-i-cecile alice-i-cecile left a comment

Choose a reason for hiding this comment

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

Some simple clarity changes for you :) This is almost ready; we can revise this as we go.

@Weibye
Copy link
Copy Markdown
Collaborator Author

Weibye commented Jun 20, 2022

Some simple clarity changes for you :) This is almost ready; we can revise this as we go.

Yup, those are clearer, thanks!

@alice-i-cecile alice-i-cecile merged commit 68a7408 into DioxusLabs:main Jun 20, 2022
@Weibye Weibye deleted the update-contributing branch June 20, 2022 19:33
jkelleyrtp pushed a commit that referenced this pull request Oct 10, 2022
* Add test guideline

* Space around lists

* Fix idents and numbering

* Remove double wrapped integration-test example

* Add note of paramter-based testing

* Apply suggestions from code review

Co-authored-by: Alice Cecile <[email protected]>

Co-authored-by: Alice Cecile <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation meta About the project itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants