Comments (9)
Hey @sunithapatel I want to learn how to create unit tests!! Can I work on this with some guidance? Like if you know a good documentation to start. Thanks!
from frontendstudygroup.github.io.
@IngridFuentes good one.
we are using react-testing-library.
https://testing-library.com/docs/react-testing-library/intro/ So this is a good place to get started. Feel free to ask more questions.
from frontendstudygroup.github.io.
some useful keywords which will help you with searching useful documentation around this are:
- unit tests
- unit tests for react components
- react testing library DOM test
from frontendstudygroup.github.io.
@princiya Thank you! I'll take a look
from frontendstudygroup.github.io.
- Started to write test cases for the Resources component.
- Need some feedback.
from frontendstudygroup.github.io.
@Priyami how did you arrive at the above table?
are you doing some manual testing too?
Also, can you and @IngridFuentes sync on this issue. Since @IngridFuentes too has claimed the issue, I believe she too has some ideas or doing some work. It's better for both of you to talk & coordinate before create PRs to avoid any duplicate work.
from frontendstudygroup.github.io.
From the above table, we could do manual testing for the Resouce component. so far, I have got five test cases as per the click event functionality on that page. This is a sample table. I would say, we could make each test case automated by the react-testing library or jest.
from frontendstudygroup.github.io.
@Priyami thanks for clarifying. I don't think we have capacity for manual testing, or I am not sure who would take turn to run manual tests. If you have thoughts on this, feel free to brainstorm.
But otherwise, using this template to write automated unit test cases for react-testing-library is a great idea.
@IngridFuentes based on how far you are into exploring this unit testing topic, feel free to use this template or come up with your own test cases.
@Priyami incase you plan to write any test cases using react-testing-library, please coordinate with @IngridFuentes .
Happy testing :) 🎉
from frontendstudygroup.github.io.
Yes, I have a few test cases written, so if you want to show me what you have, so we don't do the same @Priyami :)
from frontendstudygroup.github.io.
Related Issues (20)
- Design Contact Us form HOT 14
- Create page to show list of open source internships as Cards view HOT 7
- Deploy React App to AWS with AWS Amplify HOT 8
- Set up continuous integration with GitHub Actions HOT 1
- Detail view for the json data HOT 9
- Design and implement a footer component HOT 10
- PWA support - Make it installable on any device and show offline page when user's internet is not connected HOT 4
- Contact Form Validation HOT 1
- Refactor the input field component HOT 2
- Design About Page HOT 6
- Add toggle for resources view to switch between table/cards view HOT 11
- Improve information displayed for resources HOT 1
- Filter resources by location HOT 2
- Visualizing a Github repo HOT 1
- Making a certificate template for the website for the contributors HOT 4
- URL access to bubblechart HOT 1
- Improving existing UI of Homepage HOT 11
- Homepage UI HOT 2
- Homepage functionality HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from frontendstudygroup.github.io.