soham4abc commented on pull request #6242:
URL: https://github.com/apache/apisix/pull/6242#issuecomment-1029193478


   > > @bisakhmondal Could you help @soham4abc to add a test for it?
   > 
   > Yes sure. @soham4abc we use test-nginx in APISIX for testing. You can find 
the docs here 
(https://github.com/apache/apisix/blob/master/docs/en/latest/internal/testing-framework.md)
   > 
   > Feel free to go through the existing redirect plugin tests here 
(https://github.com/apache/apisix/blob/master/t/plugin/redirect.t) and add a 
test case there. I can think of two options:
   > 
   > 1. Treating the test suite endpoint itself as a proxy
   > 2. Setup a mock HTTP route, that acts as a proxy to forward the request to 
the apisix test suite.
   > 
   > Totally up to you. Thank you!
   
   Hey @bisakhmondal ,
   
   Sorry as I am new to this codebase and do not have much experience regarding 
it. Would be nice if you raise a separate issue and PR for this. 
   
   I am sorry I couldn't deliver the testcases as of now!
   
   Thank you


-- 
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]


Reply via email to