Skip to content
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

Add guideline to write tests #185

Merged
merged 7 commits into from
Jun 20, 2022

Conversation

Weibye
Copy link
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
@alice-i-cecile alice-i-cecile added meta About the project itself documentation Improvements or additions to documentation labels Jun 19, 2022
Copy link
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

CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
CONTRIBUTING.md Outdated Show resolved Hide resolved
Copy link
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 and others added 2 commits June 20, 2022 21:16
@Weibye
Copy link
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 <alice.i.cecile@gmail.com>

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
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