-
-
Notifications
You must be signed in to change notification settings - Fork 61
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 Backend Test Cases for fAIr #229
Comments
Kindly assign this issue to me |
Sure go ahead , This issue can be worked by multiple people hence no need for assignee , You can fork the repo and start working on it ! Feel free to drop questions. |
I will also be working on this. |
i would like to work on this issue as well. Would like to know if the project can be run on windows. |
Hello! I will also be working on this. |
please @kshitijrajsharma can you assign it to me too ? |
Yes project can run on windows ! There is a windows installation doc in repo |
I will be working on this too |
Hello, I would also be working on this issue |
@kshitijrajsharma please i'm trying to install the requirements.txt file and it throws an error concerning the tensorflow version, |
I will also be working on this. |
I'd also like to work on this. Thank you. |
Are you using docker ? |
Working on this, thank you. |
i have docker installed, but I'm not using it |
I would like to working on this issue |
Hello World! I would love to work on this project! Happy contributing :) |
@kshitijrajsharma I have the project running now. There is a slight issue I ran into that might be helpful for others to note. I was initially not able to login to OSM from the fair frontend server, as its requests to the backend kept getting bounced due to CORS errors. Looking at the .env file for the backend, and the settings.py file, everything was already configured. All I had to do was open the frontend using "127.0.0.1:3000" instead of "localhost:3000" and that fixed everything. I would also recommend for others to use docker and follow the instructions from https://github.com/hotosm/fAIr/blob/master/docs/Docker-installation.md. |
Lovely @owolabioromidayo !
That is fully correct ! We should mention this in .md |
Thank you! |
@owolabioromidayo thank you for this suggestion |
@kshitijrajsharma Is the test_create_dataset testcase currently passing? I have tried changing the input data and headers to match different branches of the LabelViewSet create method but the error remains the same. I have also tried debugging by printing, printing to stderr, and logging output to a file from the Is there something I might have misconfigured? |
Hello @kshitijrajsharma my Outreachy initial application was approved and I would like to work on this issue. Is it still open, can I proceed to work on this issue? Pls respond |
@kshitijrajsharma You should mention the need to set up a virtual environment when writing tests. |
Hello can I contribute here too. |
Hey @kshitijrajsharma, appreciate the opportunity to contribute, will drop a PR as soon as possible! |
Hi @kshitijrajsharma, I will be contributing |
Hello @kshitijrajsharma, I want to contribute for the same!! |
Another time, it redirects here to the frontend: I can't seem to get the access token. I don't know where to get it from here. Please point me to how to get it |
@nifedara inspect > Application > LocalStorage |
Thank youu. I have gotten it now |
@kshitijrajsharma Please review my PR nwekealex65#6 |
Hi, I will be contributing to this project. Thank you. |
Hi, @kshitijrajsharma, |
Hi @kshitijrajsharma, here is my PR: tony-nyagah#3 |
hi, i will like to contribute to this project. Thank you |
I would like to contribute to this @kshitijrajsharma , I an still analyzing and learning. However I love the challenge this project brings. |
hello @kshitijrajsharma,. Do I need to create all three files (models, views, and API) or is it sufficient to create just one of them? Additionally, should I document the test cases in Notion? |
Hello, @kshitijrajsharma, |
Issue Description:
Objective:
We are seeking an enthusiastic intern to collaborate on enhancing our Django backend project by integrating backend test cases. This issue aims to ensure the robustness and reliability of our application through systematic testing practices. Your contribution will involve writing test cases, determining code coverage, and ensuring all functionalities are tested following industry best practices.
Responsibilities:
Understand the current project structure and functionality by reviewing the existing models, views, and URLs. Backend is available here. If you have trouble installing the application to do raise issue or ask for help
Collaborate with the development team to identify critical areas lacking test coverage.
Write comprehensive test cases for the Django backend, focusing on models, APIs, and integration points.
Utilize Django's testing framework effectively to automate tests.
Ensure test cases are well-documented and maintainable.
Measure and report code coverage to identify untested code segments.
Propose improvements or bug fixes identified during testing.
Participate in code reviews to receive feedback and iterate on your work.
Expected Outcomes:
Resources
Test Folder Structure :
Tests should cover Any of the following :
Videos and docs :
What should be included in PR:
--- What does this PR do ?
--- Consideration:
--- How to test ?
Support:
Feel free to ask questions or seek clarifications by commenting on this issue. We're excited to see your contributions.
How to Proceed:
tests/aoi-models
Issue will be completed when :
The text was updated successfully, but these errors were encountered: