-
Notifications
You must be signed in to change notification settings - Fork 28
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 integration tests #14
Comments
hello @ElliotFriend I'm a frontend and also a blockchain developer. I will love to work on this please |
Hi @CollinsC1O! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello, i am Dprof-in-tech, an experienced Full Stack Blockchain Developer and I am excited to contribute my skills to this project in this ODHACK 8. With a strong background in Next.js, TypeScript, JavaScript, React, Node.js, Rust and Cairo, I've honed my technical skills across the blockchain development landscape. My journey with OnlyDust began at Edition 2, and I've since made 34 contributions across 11 projects. This extensive experience on the platform has allowed me to develop a keen understanding of delivering high-quality solutions under tight deadlines. Below is a link to my OnlyDust public profile. How I plan on tackling this issueHere is the approach i would use in building a solution to this issue while focusing on writing standard unit tests.
I believe with this approach and your essential code review, id give the perfect solution to this issue. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI am an active member of the Dojo Coding community in Costa Rica, with experience in Cairo, having built onchain games like ByteBeasts and contributed to open-source projects such as CairoLint, where I implemented tests for Cairo lints. Additionally, I taught Cairo during the Starknet Bootcamp for Dojo Coding. I also have experience with TypeScript, contributing to Starknet Quest by developing components like ComboBoxes, among others. How I plan on tackling this issueApproach for the Issue:
Estimated Time: 3-4 days |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHii! My name is Mario Araya, I’m a Software Developer with 2+ years of experience. I have worked with backend technologies such as Cairo, Java, and C#, as well as frontend development using React, NextJS, and JavaScript/TypeScript. I’ve made contributions to open-source projects, completed a Starknet Bootcamp, exercises on NodeGuardians, finished Starklings, and participated in multiple hackathons. I’m also a member of the Dojo Coding community here in Costa Rica. How I plan on tackling this issueSet Up Testing Frameworks: Understand Test Scope: Core Components: Ensure that key components render correctly and interact as expected. Rendering specific components on the page. Utility functions. Run Tests: Refactor and Expand: |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have a background in JavaScript and experience with Playwright and Vitest for test my testing skills will help implement effective integration tests for the project How I plan on tackling this issueI would set up Playwright for integration testing, identify key user interactions in the SvelteKit app, and start by writing tests for the most critical components and pages, gradually expanding coverage as I learn more about the framework. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have a background in developing applications using various frameworks, which gives me insight into testing best practices. While I may not have extensive experience with Svelte(Kit), I can leverage my knowledge of unit and integration testing principles from other frameworks. How I plan on tackling this issueChoose Playwright for integration tests and set it up. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedhello i am a frontend dev and blockchain developer How I plan on tackling this issueIssue Summary: Write integration tests for the components and pages of the project. Tools like Playwright (for integration tests) or Vitest (for unit tests) are recommended since they can be set up with new SvelteKit projects. Clarify the scope of the integration tests. Focus on testing the behavior of components and pages, ensuring that they work as intended within the app. Playwright: For end-to-end and integration testing. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedI have extensive experience in software testing within the telecom industry, focusing on both manual and automated testing for complex systems. How I plan on tackling this issueI would start by auditing the code in /src/lib/stellar/* and /src/lib/utils.js to identify key functions for unit testing. Also i would implement integration tests to simulate user interactions and ensure seamless component integration. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello @ElliotFriend I am Joseph I am a Software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. How I plan on tackling this issueTo solve this, I will first decide between using Playwright for integration tests or Vitest for unit tests based on the project needs. Since integration tests are required for components and pages, I will review Playwright's documentation for guidance on writing integration tests specifically for SvelteKit. I'll then set up the project to include test structure, ensuring that components and pages are tested in real user scenarios. For unit testing, I will use Vitest to ensure individual functions work correctly. If uncertain about the scope of integration tests, I’ll start by testing key user interactions and gradually expand coverage as necessary. |
thanks @ElliotFriend for assigning me the issue, I will start working asap |
Hi, @jimenezz22 ! Thanks for the interest in this issue. Since I haven't seen a PR yet for this issue, and there's still some work your in the middle of on the unit tests PR, I'm going to un-assign this one and make it available for ODHack9. You should definitely feel free to apply again, though! Thanks again! |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedcan i work on this? |
I am applying to this issue via OnlyDust platform. My background and how it can be leveragedHello @ElliotFriend I'm a frontend web 3 developer I have good experience in tackling OD Hack issue and this is my first time on this repository I have read the issue and understood what needs to be, hope to get assigned here is my GitHub profile : https://github.com/Jemiiah as well as my onlydust profile : https://app.onlydust.com/u/Jemiiah How I plan on tackling this issueFirst things first, gotta set up Vitest. It's pretty straightforward: Now, I'll go through /src/lib/stellar/* and /src/lib/utils.js, make a list of all the exported functions, and decide which ones are the most important or complex. Those are the ones I'll tackle first. For each file, I'll make a matching test file right next to it. So like, utils.js gets a utils.test.js buddy. Writing the actual tests is where the fun begins: Start simple: just check if the function exists I want to know how much of my code I'm actually testing, so I'll set up coverage: I'll start with the easy functions and work my way up to the trickier ones. Utilities are super important, so I'll make sure those are rock solid. To keep things organized, I'll use describe blocks. Group tests for each function, and if a function has different scenarios, I'll nest describe blocks. Once I've got a decent set of tests, I'll set up GitHub Actions to run them on every commit. No broken code sneaking into main! Last but not least, I've gotta keep these tests up to date. When I change a function, I update its tests. New function? New tests. And every now and then, I'll go through and clean up the tests to keep them running smooth. |
I'm a javascript dev. A new-comer here, willing and ready to contribute to solve the issue. |
I am applying to this issue via OnlyDust platform. My background and how it can be leveraged: Hey @ElliotFriend! I'm Juan Diego, and I bring a mix of interesting experience to the table. Right now I'm working on ByteBeasts (it's this cool on-chain RPG game) and I'm part of the Dojo Coding community. My daily tools are Rust, JavaScript, and TypeScript, and I've gotten pretty good at unit testing through my remote work experience. I've been involved in several Web3 and blockchain open-source projects, which gives me good context for working on this Stellar payment app. How I plan on tackling this issue
ETA: 3-4 days. Let me know if you'd like me to clarify anything about my approach! |
I am a Full Stack Developer specializing in Next.js, TypeScript, Node.js, Cairo and Rust . With over 31 contributions across projects in the OnlyDust ecosystem, I’ve developed strong proficiency in delivering high-quality solutions and resolving complex issues within tight deadlines. My experience spans frontend, backend, smart contracts, and the optimization and maintenance of scalable codebases. The goal is to implement integration tests across critical components and pages. Integration tests differ from unit tests in that they evaluate how various modules work together in the actual application environment, making them particularly well-suited for SvelteKit, where components and pages interact closely. Here is how i plan to tackle this issue: Here is how i plan to tackle this issue:
Finally, to maintain ongoing quality, I will integrate these tests into the project’s Continuous Integration/Continuous Deployment (CI/CD) pipeline, ensuring they run automatically with each update. As the app grows, new tests will be written to cover new features, ensuring high test coverage and robust user experiences. By using Playwright, we will establish a solid testing foundation that reduces the risk of bugs and improves the overall maintainability of the project. |
Please, I would really love to solve this issue |
Is this issue still available? |
i have a solid knowledge in both frontend and smart contract test, I'd like to handle this task. |
Could I take over this issue? |
I'd like to take this issue. |
I’m interested in this one. |
Id like to handle this issue |
Hello, i am Dprof-in-tech, an experienced Full Stack Blockchain Developer and I am excited to contribute my skills to this project in this ODHACK 8. With a strong background in Next.js, TypeScript, JavaScript, React, Node.js, Rust and Cairo, I've honed my technical skills across the blockchain development landscape. My journey with OnlyDust began at Edition 2, and I've since made 34 contributions across 11 projects. This extensive experience on the platform has allowed me to develop a keen understanding of delivering high-quality solutions under tight deadlines. Below is a link to my OnlyDust public profile. i would love to work on writing the integration tests for this issue using Vitest. my expected time of delivery would be in 3-4 days after being assigned. |
Mind if I take this issue? |
im a newbie contributor, i'd be grateful if you'd give me the opportunity to work in this. |
@ElliotFriend OD Hack ends soon pls kindly assign this issue |
May I handle this issue? |
Please is this issue still available, I'm still waiting, thank you. |
Can I tackle this one? |
May I take care of this? I've got experience with this repository and I can make this issue close within 2 days |
This project has no tests written for it. That should be rectified. When creating a new SvelteKit project, you can optionally create structure for integration tests using
playwright
or unit tests usingvitest
. So, those seem like decent options for us to use here.Integration tests should be written for the components and pages? Not really sure. I'm not very familiar with writing integration tests for Svelte(Kit) apps, so I'm not exactly sure of the scope for this.
The text was updated successfully, but these errors were encountered: