XFarooqi commented on PR #8453: URL: https://github.com/apache/apisix/pull/8453#issuecomment-1407594664
> > > Because you modified the default router, it will cause some test cases to fail. > > > So you also need to change the test case at the same time, specify `radixtree_uri` for the failure case. > > > > > > @membphis Could we give to Abdul useful links to any guidelines or tutorials on how to test things on Apache APISIX? > > I think it is quite hard and risky to modify existing tests without any knowledge. If we do not have any learning materials, we should prepare for new joiners. > > Here it is: https://github.com/apache/apisix/blob/master/docs/en/latest/internal/testing-framework.md Thank you @spacewander for providing me with the link. I respect your time. Because I have no prior experience if writing test cases, I am having the following issues in writing test cases: 1. APISIX uses test-nginx framework for testing and its documentation itself is complex to understand. 2. Reading the documentation, I understand how to write test cases, etc but I am not able to find out what changes should I have to make in failing test cases. 3. In the summary of failing test cases, there is some test that is shown as failed but when I see that file then it doesn't include those test cases. For example in `t/plugin/ai.`, Failed Tests are [3, 9, 12, 15, 19, 22, 25, 28, 41, 45-46] but when I check this file it has only 12 test cases. 4. In the log description of **Failed Test 4 of `'t/plugin/ai4.t`** there are so many things that I am totally unable to understand. <img width="1440" alt="Screenshot 2023-01-29 at 1 06 54 PM" src="https://user-images.githubusercontent.com/58102434/215313612-03179f06-2afa-45cd-933e-6242b8afb985.png"> I genuinely want to contribute to APISIX and solve this issue and I will highly appreciate it if you can guide me with step-by-step procedures for the issue. Because it looks like I am running in a loop where I am learning everything individually but not able to connect them with others. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
