-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Implement an automated front-end testing framework for React components #1334
Comments
__tests__ accidentally added. directory should not be included until testing framework is in place #1334
Hey @edwinjue, Do you have an update for us on this issue? Please update:
Thanks! |
@ryanfchase What's the status of this ticket? |
I don't think progress has been made on this, it should not be in-progress. I think this ticket is blocked until we have a member who is very comfortable with Javascript testing frameworks to take the lead on this. We'll need to come up with a strategy for integrating testing into our project. I'm going to move this to icebox under said reasoning. |
Hi! I've written frontend tests for a couple of my projects: and would like to lead work on this issue. I think 8pt is an appropriate size, and I'm comfortable writing documentation for our testing practices. Notes
Questions
|
@aqandrew I think we're good to open this ticket up to be worked on. I approve of the action items, and I've added action items for me to create the testing Epic and integration test ticket template. If you agree, please do the following...
|
@ryanfchase Sounds good! Just a couple more notes worth mentioning--want to leave a paper trail of this info:
|
Sounds good. Absolutely, we should pursue this. Go ahead and modify the action items to include this. I’m thinking about starting an issue to jot down every time someone provides information that should go in a wiki. I am making a mental note of your comment, and then adding to my todo list from Wednesday to create a wiki page compilation ticket. |
I've modified the milestone to reflect the correct level of prioritization and importance. This ticket is now available to be picked up. |
Good idea! Though I think we can live without this particular info going into the wiki. The approach I want to take is the same as what's currently documented in the latter half of contributing.md: Lines 15 to 23 in a16ce58
(^This actually answers a question I'd had about the |
@aqandrew that's true, we did have this in our |
@aqandrew FYI I've actually added an action item to the Testing Epic for implementing the CI you mentioned above. Ofc, you're still free to add a similar action item here, I'll just make a note in the epic. But if you want, we can split up the CI work into its own ticket to make this ticket easier to close: #1768 |
Sounds good! I think the CI work should go in its own ticket. Since we'll be telling the CI environment to run test commands in the main branch, it'll be helpful to have the testing code merged to main. |
ETA: 7/17/24 |
Hi @aqandrew, Please leave a comment with the following items:
|
That's correct, thank you for the reminder Ryan! |
Dependency
Overview
We need to implement automated React components tests so that non-working code does not accidentally get introduced to the production website.
Action Items
Dependency
Resources/Instructions
https://jestjs.io/
https://testing-library.com/
The text was updated successfully, but these errors were encountered: